Creates a popup menu and attaches it to a CBCGPPopupMenu object.
- Returns
- Nonzero if successful; otherwise zero.
The pWndParent parameter should not be NULL if bOwnMessage is TRUE.
- Parameters
-
| pWndParent | Specifies the popup menu's parent window. |
| x | Specifies the horizontal popup menu's position in screen coordinates. |
| y | Specifies the vertical popup menu's position in screen coordinates. |
| hMenu | A handle to Windows menu. |
| bLocked | Specifies whether the menu is customizable or not. |
| bOwnMessage | Specifies how the menu messages are routed. If it is nonzero the messages are sent to the parent window; otherwise the messages are sent to the parent window of the parent popup menu. |