How do I get the location of a menu item?

How do I get the location of a menu item?

Community Admin's picture

I want to use GetMenuItemRect to get the position of a menu item, but I would rather use the item ID (i.e. IDM_EDIT) rather than the position number which could change.
How can I do this?

Thanks,
David

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.