|
-
September 14th, 2005, 05:08 PM
#1
Wm_stylechanged
Our application when checked with spy seems to be sending this message endlessly. We what to be able to track it down in code but are not able to ..
Any suggestions?
þ|êâšë rä??*è rëþ|ïëš ??*hª??* hë|þëd
-
September 14th, 2005, 05:35 PM
#2
Re: Wm_stylechanged
WHat do you mean track it down ? The originator of this message ?
-
September 14th, 2005, 05:58 PM
#3
Re: Wm_stylechanged
Why is that bothering you? Changing visibility of the window for example will send this message.
There are only 10 types of people in the world:
Those who understand binary and those who do not.
-
September 14th, 2005, 07:28 PM
#4
Re: Wm_stylechanged
Well it was being send even when no document is open and the application is sitting idel. We want to make sure we are no changing the STYLE repeatedly in the main application timer.
Anyways I tracked it down to ..
If I comment this line out I don't see that. Why would this cause WM_STYLECHANGED ?
PHP Code:
m_pMainWnd->DragAcceptFiles(bEnable);
Anyways after looking into MSDN it say DragAcceptFiles should be in InitInstance and it was in OnUpdateFileNew which ofcourse is going to be called always. I moved it there and I don't see that message.
We are still getting a WM_NOTIFY
Last edited by voidspace; September 14th, 2005 at 07:41 PM.
þ|êâšë rä??*è rëþ|ïëš ??*hª??* hë|þëd
-
September 14th, 2005, 07:55 PM
#5
Re: Wm_stylechanged
DragAcceptFiles changes extended window style to WS_EX_ACCEPTFILES.
Many action that require changing window functionality or state change either style or extended style.
About WM_NOTIFY, could you elaborate?
There are only 10 types of people in the world:
Those who understand binary and those who do not.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|