wpAddUserItemsToPopupMenu - Syntax

This method is specific to Version 4, or higher, of the OS/2 operating system.

This instance method adds user defined items to the pop-up menu.

#define INCL_WINWORKPLACE
#include <os2.h>

WPFileSystem     *somSelf;    /*  Pointer to the object on which the method is being invoked. */
HWND              hwndMenu;   /*  Handle to the menu. */
HWND              hwndCnr;    /*  Handle to the container. */
ULONG             iPosition;  /*  The position on the pop-up menu. */
BOOL              rc;         /*  Success indicator */

rc = _wpAddUserItemsToPopupMenu(somSelf, hwndMenu,
       hwndCnr, iPosition);


[Back: wpAddUserItemsToPopupMenu]
[Next: wpAddUserItemsToPopupMenu Parameter - somSelf]