
InPlaceActivate is not getting called for a Composite control (for a MFC client)
MS Visual Studio Dialog Editor never activates controls. For composite
controls it means their window and child controls are never created. Ever
wondered why WebBrowser control looks simply like Windows logo on black
background? It needs a window to function properly.
--
With best wishes,
Igor Tandetnik
Quote:
> Hi,
> I have created a composite control using ATL 3.0. I have embedded one
other
> control (Grid control) with in that control. InPlaceActivate is getting
> called when I am testing with a VB client or with ActiveX control test
> container but not when testing with MFC client. Is it possible? If not,
> could you please tell me where I may probably have been gone wrong?
> One more thing: I am unable to view the embedded Grid control as soon as I
> am placing my composite control in an MFC dialog (i.e., I am unable to see
> Grid in the design mode). I am able to see the embedded Grid only during
run
> time.
> Thanks,
> Ganesh.