Connecting Tech Pros Worldwide Forums | Help | Site Map

ATL composite control hangs in MFC

Paul Kia
Guest
 
Posts: n/a
#1: Nov 17 '05
I have an ATL composite control which I drop into a tab control dialog page
of an MFC application. When I click on the composite control and then click
anywhere outside the MFC application, the application immediately hangs!
Spy++ indicates that the application is hanging on the WM_GETDLGCODE message.

This problem does not happen if the ATL control is a standard (that is,
non-composite) control, neither does it happen if the composite control is
dropped on a non-tab control page in the MFC application.

I have read KB92905 and KB149501 but these do not specifically address this
issue.

Please help!




Stephen MacKenzie
Guest
 
Posts: n/a
#2: Dec 13 '05

re: ATL composite control hangs in MFC


Here is a link to composite control fundamentals:

http://msdn.microsoft.com/library/de...ndamentals.asp

--
Stephen MacKenzie
Microsoft Visual C++


"Paul Kia" wrote:
[color=blue]
> I have an ATL composite control which I drop into a tab control dialog page
> of an MFC application. When I click on the composite control and then click
> anywhere outside the MFC application, the application immediately hangs!
> Spy++ indicates that the application is hanging on the WM_GETDLGCODE message.
>
> This problem does not happen if the ATL control is a standard (that is,
> non-composite) control, neither does it happen if the composite control is
> dropped on a non-tab control page in the MFC application.
>
> I have read KB92905 and KB149501 but these do not specifically address this
> issue.
>
> Please help!
>
>
>[/color]
Closed Thread