Hi, I have the following problem and I would appreciate any help on it. I want to create an OCX in unmanaged side and I would like to use/access a .NET component from it. Say the component want to access is a .NET control like a grid. Don't I need to specify to transfer the information about the parent window of the gridcontrol, which is my ActiveX window? How can I do this? How can I pass a window handle to the gridcontrol? Please help. Thanks a lot.
Manju
Posts
-
COM interop -
Releasing IDirectinputdevice interfacehi, I have a problem when releasing the IDirectInput8Device interface as below. if (m_lpdirinde8Device) { m_lpdirinde8Device->Unacquire(); m_lpdirinde8Device->Release(); m_lpdirinde8Device = NULL; } But it hangs at the release. This happens only if I create an effect on this device. Can somebody give a hint why release hangs? Thanks Manju
-
Combo box does not loose the focusHi, When the user click on another control and the ´combobox has the focus and the list box is currently opened, the combobox won't loose the focus.Is there any way for the other control to get the focus when the user clicks on it eventhough the listbox of the combobox is opened.
-
executing some other exeHow to execute an executing exe from VC++ ? and to pass the control back to the same program once the exe is closed.
-
Mulriple viewsCan an SDI application support 2 or more Views?? and depending on the commandline parameters the application be opened up with a specified view