InPlaceActivate is not getting called for a Composite control (for a MFC client) 
Author Message
 InPlaceActivate is not getting called for a Composite control (for a MFC client)

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.



Sun, 14 Sep 2003 08:17:38 GMT  
 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.



Sun, 14 Sep 2003 08:28:35 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. A composite control calling another composite control in web browser

2. MFC client crashes in release mode only with ATL composite control

3. Composite Control - why GetControlInfo is not called?

4. ATL Composite Control - GetControlInfo not called!

5. MFC Control OnCreate not called via VB, but called under MSVC

6. Getting the HWND of a child control of a composite control

7. Composite control hosted by a composite control.

8. OnNcMouseMove not getting called in OLE control

9. ATL(+MFC) Composite control VS MFC ActiveX Contol

10. mfc control in atl composite control wont destruct

11. mfc control instantiated in atl composite control using CAxWindow wont destruct

12. Why am I not getting correct position?

 

 
Powered by phpBB® Forum Software