Jump to content

MM SETITEMBYPOS

From NikiWiki
Revision as of 17:29, 23 January 2004 by Cinc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
#define MM_SETITEMBYPOS 0x01f4

Set MENUITEM by its position.

mp1
Position of item in menu
mp2
PMENUITEM (16-bit pointer)

Returns TRUE if the request is successful

This message will only set an item in the specified menu. The iPosition field on the MENUITEM structure is ifnored because you cannot change the position of a menu item. If the submenu or bitmap handle is changing, the previous sumbenu window handle or bitmap handle is not deleted during the handling of this message.

(Source: newsgroup)