CreatePopupMenu The CreatePopupMenu function creates a drop-down menu, submenu, or shortcut menu. The menu is initially empty.
VB4-32,5,6
Declare Function CreatePopupMenu Lib "user32" Alias "CreatePopupMenu" () As Long |
VB.NET
System.Windows.Forms.ContextMenu |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
If the function succeeds, the return value is the handle to the newly created menu.
If the function fails, the return value is NULL. |
|