PropertySheet/Pages into Dialog
- From: "Chewbizz" <chewbizz@xxxxxxxxxxx>
- Date: 16 Dec 2005 05:03:28 -0800
Hi !
I'm trying to use a Property*** embedded into a CDialog.
My dialog contains a Frame with a vertical Splitter. On the left side
of the splitter, I use a CFormView. This formView contains the
property*** (I also replaced the property***'s tabControl by a
group of radio buttons).
If I change the active property page (by selecting another radio button
than the default one) my property pages, views and dialog all keeps
recieving WM_SYSTIMER messages. Then, as soon as the application looses
the focus, the program hangs...
This does not happen if the dialog keeps the focus ...
I tried to bypass WM_SYSTIMER messages but this doesn't change anything
: If change the active property page then set the focus to another
application, the program hangs.
After searching for some time, I found that the cause could be related
to the following bug :
PRB: Child CProperty*** Hangs If Focus Is Switched (found on
support.microsoft.com)
So I tried to set the extended style WS_EX_CONTROLPARENT to the
property***, but that did not solve the problem. It seems that no
WM_GETDLGCODE message is processed, so I don't know if this problem is
really my problem.
I don't know if this helps but the last messages my dialog recieves
(when I set the focus to another application) are these (from spy++) :
WM_NCACTIVATE fActive:False
WM_GETTEXT cchTextMax[...]
WM_GETTEXT cchCopied[...]
WM_NCACTIVATE fDeactivateOK:True
WM_ACTIVATE fActive:WA_INACTIVE fMinimized:False hwndPrevious:(null)
I think I will investigate these "activate" messages, but I don't know
if it is related to my problem ...
If someone has any idea, please help !
If you need more info about the problem, let me know !
Thanks a lot in advance !
Stephane
.
- Follow-Ups:
- Re: Property***/Pages into Dialog
- From: Chewbizz
- Re: Property***/Pages into Dialog
- Prev by Date: Re: MFC future?
- Next by Date: Re: CSocket
- Previous by thread: static library problems
- Next by thread: Re: Property***/Pages into Dialog
- Index(es):