• Rein Klazes's avatar
    - when sending the WM_DRAWITEM message in case of a menu item with · f5d2ea6c
    Rein Klazes authored
      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.
    f5d2ea6c
menu.c 141 KB