Custom Control - Handles?

miciebmicieb Member Posts: 13
Hello everyone,

i have the next issue:

"C/SIDE supports COM technologies in two ways: using custom controls (OCXs) and as an automation controller. This support has a few limitations:
Only non-visual controls are supported. This means that a control cannot be used to add graphical elements to a C/SIDE object (you cannot, for example, add a third-party control to a form). The control can, however, display information and interact with the user in a window of its own."

:shock:
But i have found examples where it is possible to get the focus of a subform etc.... and put a control on it. Mostly these examples are in C++. My question is if there's anybody who has a simple example how he managed to do this? Maybe a source code entry?

Greetings.
Straight forward... Move!

Comments

  • kinekine Member Posts: 12,562
    You just need to fid out the window handle of the correct window within NAV. There was some example on the forum, try to find it out.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • miciebmicieb Member Posts: 13
    I found it to get the handle. Does anybody know where i can find tutorial on working with handles?
    Straight forward... Move!
Sign In or Register to comment.