- when sending the WM_DRAWITEM message in case of a menu item with
hbmpItem = HBMMENU_CALLBACK, move the drawing origin to the top left
of the item rectangle
- at the same time also make sure that the itemState field of the
DRAWITEMSTRUCT is properly initialized
- do the drawing of the check mark before sending the WM_DRAWITEM
message, some application likes to "overdraw" the checkmark.
Showing
Please
register
or
sign in
to comment