MM_SETITEMHANDLE
Appearance
This message sets the handle of a menu item.
Syntax
param1 USHORT usitem; /* Item ID. */ param2 ULONG ulitemhandle; /* Item handle. */
Parameters
Returns
- rc (BOOL) - return
- Success indicator.
- TRUE: Successful completion.
- FALSE: Error occurred.
Remarks
The menu control window procedure responds to this message by setting the handle of the menu item. This is used to set a handle for menu items that have a style of MIS_BITMAP or MIS_OWNERDRAW.
Default Processing
The default window procedure does not expect to receive this message and therefore takes no action on it, other than to set rc to the default value of FALSE.