|
-
March 19th, 2007, 01:07 PM
#1
Questions about WM_MEASUREITEM
Does anybody know how to force WM_MEASUREITEM? In particular, for a owner drawn menu?
I googled for it, but couldnt find an answer that works for me. I heard suggestions to modify a menu item, but that didnt work. I finally got it to work with brute force -- recreate the entire menu each time I want it to be re-measured. I was wondering if anyone knew an easier 'trick'?
Also, when I'm handling WM_MEASUREITEM (for owner drawn popup menu), I cant access the HMENU, unless I saved it in the 'data' field of MENUITEMINFO. Does anyone know of a way to access the HMENU inside WM_MEASUREITEM without having saved the HMENU?
Thanks,
-Martin
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
|