ID Number: Q69969
3.00
WINDOWS
Summary:
Microsoft Windows version 3.00 allows an application to specify
owner-draw menus. This provides the application with complete control
over the appearance of items in the menu.
Windows 3.00 only supports owner-draw items in a pop-up menu.
Top-level menu items with the MF_OWNERDRAW style do not work properly.
More Information:
An application may append an item with the MF_OWNERDRAW style to a
top-level menu. At this point, the parent application should receive a
WM_MEASUREITEM message and a WM_DRAWITEM message.
However, a WM_MEASUREITEM message is never sent to the parent window
for the menu item. In addition, the WM_DRAWITEM message is sent only
when the selection state of the item changes (the action field in the
DRAWITEMSTRUCT is equal to ODA_SELECTED). The WM_DRAWITEM message is
not sent with the action field in the DRAWITEMSTRUCT equal to
ODA_DRAWENTIRE.