HMENU pascal GetSubMenu(HMENU hMenuBar, int pos) This function returns the handle of a pulldown menu associated with an item from the menubar. Parameters hMenuBar is the handle of the menubar to query. pos is the 0-based index of the menubar item. Returns The handle of the sub-menu, or NULLHWND if none exists.