MF_OWNERDRAW top-level constant

  1. @Deprecated('Use MENU_ITEM_FLAGS.MF_OWNERDRAW instead')
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.

Implementation

@Deprecated('Use MENU_ITEM_FLAGS.MF_OWNERDRAW instead')
const MF_OWNERDRAW = 0x00000100;