menus.h Header File

Header File Index

Routines for creating popup and toolbar menus

 Functions
DynMenuAdd
Adds a new entry to a dynamic menu.
DynMenuChange
Changes an entry in a dynamic menu.
FKeyI_H
Returns the corresponding menu item for a function key.
MenuAddIcon
Adds a new icon item in a toolbar menu.
MenuAddText
Adds a new text item in a toolbar menu.
MenuBegin
Displays a toolbar menu and creates a new structure which is used for executing the menu.
MenuCheck
Checks/unchecks or returns the state of an item in a pulldown menu.
MenuEnd
Deallocates an executable menu structure and removes the menu from the screen.
MenuFlags
Return the flag word for a dynamic menu/popup structure.
MenuGetTopRedef
Gets the index of a toolbox icon.
MenuItemDef
Returns a pointer to the data of a menu item.
MenuKey
Activates a toolbar menu by processing a key press.
MenuLoad
Begins a dynamically created menu using a prefilled static menu as the starting point.
MenuNew
Creates a new toolbar menu.
MenuOff
Disables a toolbar menu.
MenuOn
Redraws a toolbar menu.
MenuPopup
Executes a popup menu given a pointer to a popup menu structure.
MenuSubStat
Changes the state (enabled/disabled) of an item in a pulldown menu.
MenuTopRedef
Redefines a toolbox icon.
MenuTopSelect
Emphasizes a toolbox.
MenuTopStat
Changes the state (enabled/disabled) of a toolbox.
MenuUpdate
Draws the default home screen menu.
PopupAddText
Adds a new text item in a popup menu.
PopupBegin
Creates a new popup menu with checkmarks features.
PopupBeginDo
Executes a dynamically allocated popup using a menu-draw handle.
PopupClear
Clears a popup or toolbar menu structure.
PopupDo
Executes a popup menu.
PopupNew
Creates a new popup menu.
PopupText
Returns a pointer to the text of a popup menu item.
QMenuTopSelect
Returns the currently selected top-level menu item.
VarCreateFolderPopup
Creates a popup menu containing a list of all folders.
 Constants
CENTER
A constant to describe a centered position for dialogs.
H_NULL
A null-handle value.
NULL
A null-pointer value.
 Predefined Types
BITMAP
A structure for defining a bitmap.
Bool
An enumeration to describe true or false values.
CommonKeys
An enumeration for describing common key codes.
DynMenuFlags
An enumeration for describing possible flags associated to dynamic menu entries.
HANDLE
Represents a handle associated with an allocated memory block.
ICON
A structure which describes an icon.
ItemTypes
An enumeration for describing item types in menus.
MenuBeginFlags
An enumeration for describing possible flags passed to MenuBegin.
MenuCheckCmds
An enumeration for describing possible commands for the MenuCheck function.
MenuFlagsEnum
An enumeration for describing possible flags contained in a dynamic menu.
MenuKeyValues
Contains predefined return values of MenuKey.
pICON
A pointer to the ICON scructure.
VCFPFlags
Describes possible flags for VarCreateFolderPopup.