Hi guys, I am just wondering if there is any possible way to retrieve the height of a HMENU item and put it as a RECT?
Printable View
Hi guys, I am just wondering if there is any possible way to retrieve the height of a HMENU item and put it as a RECT?
Check out the "Calculate size of a menu bar" at this link
You can always use AdjustWindowRect() to find the window size required for a specified client area.
Calling it twice, toggling the bMenu flag should give the menu size.