Create Menu Item
| 3270 | 5250 | VT |
| Yes | Yes | Yes |
The Create Menu Item function requests Personal Communications to add a menu item to the menu bar. A pop-up menu will be created at the same time, but it is initially empty and can be filled with menu items by using this function. The string of the new menu item that will be added to a top-level menu bar, is also specified by using the Change Menu Item function.
The client sends the following message to create a menu item.
PostMessage( hServerWnd,
WM_DDE_REQUEST,
hClientWnd,
MAKELPARAM(cfFormat,aCREATEMENU));where:
- cfFormat
-
Identifies the format for the ID of the new menu item. The valid value is CF_DSPTEXT.
- aCREATEMENU
-
Identifies the create menu item.