Treeview Automation doesnt show

NoobyNooby Member Posts: 15
im making a treeview in c# but cant get it so show in navision

have tride to look on som of the treeview in download but they are in delphi and i cant figure them out so if anyone knows what the problem are or how to show the treeview plz tell me

Answers

  • lubostlubost Member Posts: 628
    There exist some techniques to show anything:
    1. Standalone window - you have to solve presentation in your DLL
    2. In Navision window - create subform (I used to subform with easy identied caption), then you have to find hWnd of this subform and then send all output of your DLL to this window.
  • NoobyNooby Member Posts: 15
    im using a subform
  • lubostlubost Member Posts: 628
    There exist some API function which you can use to traverse thru windows and only task is to find the caption of this subform (child of Navision main window) and in your code change the hWnd of your control to found one.
  • NoobyNooby Member Posts: 15
    im new at this so if u can show me som examples it would be nice
  • lubostlubost Member Posts: 628
    I don't know about programming in C# (and .NET), but I did this in Visual Basic - video in Navision subform.
    At this time I have no code samples.
  • wakestarwakestar Member Posts: 207
    @nooby: before investing days or weeks in it you must know that at the end it wont be a perfect solution.
    why: a Winform is still a Winform and won't act the same way as a child-control in Navision does. You'll have to manage the focus manually, tabbing on the Navision - Form wont work with your Control, etc...
Sign In or Register to comment.