|
-
April 2nd, 2012, 05:03 PM
#3
Re: WM_GETTITLEBARINFOEX has wrong button rects
In this particular case, I'm in the OnCreate(LPCREATESTRUCT) handler for my frame class, after calling the base class. It's possible that the visual styles haven't yet been applied, but I'm not sure when they happen. I did a quick 'hack' where I post a message to myself in the OnCreate handler and when I handle that message, send the WM_GETTITLEBARINFOEX message again, and at that point the data seems correct. So maybe I'm just calling it too early in the creation of the frame.
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
|