MF_OWNERDRAW top-level constant Null safety

int const MF_OWNERDRAW

Specifies that the item is an owner-drawn item. Before the menu is displayed for the first time, the window that owns the menu receives a WM_MEASUREITEM message to retrieve the width and height of the menu item. The WM_DRAWITEM message is then sent to the window procedure of the owner window whenever the appearance of the menu item must be updated.


const MF_OWNERDRAW = 0x00000100;