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?
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.
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill