A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



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

Library
User32

Return Values
If the function succeeds, the return value is the handle to the newly created menu.

If the function fails, the return value is NULL.

Last update: 07 April 2006