Functions | |
StatusInt | mdlDialog_textPDMItemGetInfo (TextPDM_Item *textPDMInfoP, DItem_PulldownMenuItem *menuItemP) |
Gets information about the Text Pull-down Menu item specified by menuItemP in the TextPDM_Item structure pointed to by textPDMInfoP. More... | |
StatusInt | mdlDialog_textPDMItemSetInfo (DItem_PulldownMenuItem *menuItemP, TextPDM_Item *textPDMInfoP, TextPDM_ItemModify *textPDMModifyP) |
Sets information in the Text Pull-down Menu item specified by menuItemP using the TextPDM_Item structure pointed to by textPDMInfoP, and the TextPDM_ItemModify variable pointed to by textPDMModifyP. More... | |
StatusInt | mdlDialog_textPDMItemSetEnabled (DItem_PulldownMenuItem *menuItemP, bool enabled) |
Sets the enabled state (enabled or disabled) of the Text Pull-down Menu item specified by menuItemP to the value specified by enabled. More... | |
StatusInt | mdlDialog_textPDMItemSetLabel (DItem_PulldownMenuItem *menuItemP, WCharCP labelP) |
Sets the label of the Text Pull-down Menu item specified by menuItemP to the string pointed to by labelP. More... | |
StatusInt | mdlDialog_textPDMItemInsert (DItem_PulldownMenu *menuP, DItem_PulldownMenuItem *menuItemP, TextPDM_Item *textPDMInfoP, TextPDM_ItemModify *textPDMModifyP) |
Inserts the Text Pull-down Menu item specified by textPDMInfoP and the TextPDM_ItemModify variable pointed to by textPDMModifyP into a Text Pull-down Menu. More... | |
StatusInt | mdlDialog_textPDMItemIns (DItem_PulldownMenuItem *newMenuItemP, DItem_PulldownMenu *menuP, DItem_PulldownMenuItem *menuItemP, TextPDM_Item *textPDMInfoP, TextPDM_ItemModify *textPDMModifyP) |
Inserts the Text Pull-down Menu item specified by textPDMInfoP and the TextPDM_ItemModify variable pointed to by textPDMModifyP into a Text Pull-down Menu. More... | |
StatusInt | mdlDialog_textPDMItemSetIcon (DItem_PulldownMenuItem *menuItemP, RscId *iconIdP, RscType *iconTypeP, MdlDesc **iconOwnerMDP, bool pressed) |
Sets the icon information for a PulldownMenuItem or PulldownIconMenuItem. More... | |
StatusInt | mdlDialog_textPDMItemSetIconName (DItem_PulldownMenuItem *menuItemP, WCharCP iconNameP, Point2d *sizeP, bool pressed) |
Sets the icon information for a PulldownMenuItem or PulldownIconMenuItem. More... | |
StatusInt | mdlDialog_textPDMItemGetIcon (RscId *iconIdP, RscType *iconTypeP, MdlDesc **iconOwnerMDP, bool *pressedP, DItem_PulldownMenuItem *menuItemP) |
Gets the icon that is specified for the given pulldown menu item. More... | |
StatusInt | mdlDialog_textPDMItemSetPressedIcon (DItem_PulldownMenuItem *menuItemP, RscId *iconIdP, RscType *iconTypeP, MdlDesc **iconOwnerMDP) |
Sets the pressed icon id type and owner of the specified pulldown menu item. More... | |
StatusInt mdlDialog_textPDMItemGetIcon | ( | RscId * | iconIdP, |
RscType * | iconTypeP, | ||
MdlDesc ** | iconOwnerMDP, | ||
bool * | pressedP, | ||
DItem_PulldownMenuItem * | menuItemP | ||
) |
Gets the icon that is specified for the given pulldown menu item.
Any of the parameters receiving information back from this function can be set to NULL if that information is not required.
[out] | iconIdP | is the Id of the icon. |
[out] | iconTypeP | is the icon type of the specified pull down menu item. |
[out] | iconOwnerMDP | is the owner MD of the icon. |
[out] | pressedP | indicates the pressed state of the icon, true if the pressed state is set. |
[in] | menuItemP | specifies the pulldown menu item to get the icon information from. |
StatusInt mdlDialog_textPDMItemGetInfo | ( | TextPDM_Item * | textPDMInfoP, |
DItem_PulldownMenuItem * | menuItemP | ||
) |
Gets information about the Text Pull-down Menu item specified by menuItemP in the TextPDM_Item structure pointed to by textPDMInfoP.
[in] | textPDMInfoP | text menu item info |
[in] | menuItemP | Text Pulldown item to get info on |
StatusInt mdlDialog_textPDMItemIns | ( | DItem_PulldownMenuItem * | newMenuItemP, |
DItem_PulldownMenu * | menuP, | ||
DItem_PulldownMenuItem * | menuItemP, | ||
TextPDM_Item * | textPDMInfoP, | ||
TextPDM_ItemModify * | textPDMModifyP | ||
) |
Inserts the Text Pull-down Menu item specified by textPDMInfoP and the TextPDM_ItemModify variable pointed to by textPDMModifyP into a Text Pull-down Menu.
[out] | newMenuItemP | in mdlDialog_textPDMItemIns (which makes mdlDialog_textPDMItemInsert obsolete) specifies a non-NULL pointer to a memory area allocated by the application program into which the newly created PulldownMenuItem information can be copied upon successful insertion of the item into the menu. This information is useful if further operations are to be performed on the newly created item. |
[in] | menuP | menu to insert into |
[in] | menuItemP | specifies the Text Pull-down Menu item before which the new menu item is to be inserted. If menuItemP is NULL, the menu item is appended to the end of the menu specified by menuP, which must not also be NULL. If menuItemP is not NULL, menuP can be set to NULL, since the Text Pull-down Menu to insert into can be determined from a valid pointer to a Text Pull-down Menu item. |
[in] | textPDMInfoP | text menu item info |
[in] | textPDMModifyP | modify info |
StatusInt mdlDialog_textPDMItemInsert | ( | DItem_PulldownMenu * | menuP, |
DItem_PulldownMenuItem * | menuItemP, | ||
TextPDM_Item * | textPDMInfoP, | ||
TextPDM_ItemModify * | textPDMModifyP | ||
) |
Inserts the Text Pull-down Menu item specified by textPDMInfoP and the TextPDM_ItemModify variable pointed to by textPDMModifyP into a Text Pull-down Menu.
[in] | menuP | menu to insert into |
[in] | menuItemP | specifies the Text Pull-down Menu item before which the new menu item is to be inserted. If menuItemP is NULL, the menu item is appended to the end of the menu specified by menuP, which must not also be NULL. If menuItemP is not NULL, menuP can be set to NULL, since the Text Pull-down Menu to insert into can be determined from a valid pointer to a Text Pull-down Menu item. |
[in] | textPDMInfoP | text menu item info |
[in] | textPDMModifyP | modify info |
StatusInt mdlDialog_textPDMItemSetEnabled | ( | DItem_PulldownMenuItem * | menuItemP, |
bool | enabled | ||
) |
Sets the enabled state (enabled or disabled) of the Text Pull-down Menu item specified by menuItemP to the value specified by enabled.
If enabled is true, the Text Pull-down Menu item is drawn with normal bold text and the user can select the item. If enabled is false, the Pull-Down menu item is drawn with dimmed text and the user cannot select the item.
[in] | menuItemP | menu item to set |
[in] | enabled | true if enabled |
StatusInt mdlDialog_textPDMItemSetIcon | ( | DItem_PulldownMenuItem * | menuItemP, |
RscId * | iconIdP, | ||
RscType * | iconTypeP, | ||
MdlDesc ** | iconOwnerMDP, | ||
bool | pressed | ||
) |
Sets the icon information for a PulldownMenuItem or PulldownIconMenuItem.
[in] | menuItemP | points to the RawItemHdr for the PulldownMenuItem or PulldownIconMenuItem |
[in] | iconIdP | points to a long representing the id of the icon to be used |
[in] | iconTypeP | points to an unsigned long representing the type of icon to be used |
[in] | iconOwnerMDP | points to the MDL Descriptor of the icon to be used |
[in] | pressed | indicates whether the icon should be pressed |
StatusInt mdlDialog_textPDMItemSetIconName | ( | DItem_PulldownMenuItem * | menuItemP, |
WCharCP | iconNameP, | ||
Point2d * | sizeP, | ||
bool | pressed | ||
) |
Sets the icon information for a PulldownMenuItem or PulldownIconMenuItem.
[in] | menuItemP | points to the RawItemHdr for the PulldownMenuItem or PulldownIconMenuItem |
[in] | iconNameP | points to a character string representing the name of the icon to be used |
[in] | sizeP | points to Point2d representing the width and height of the icon to be used |
[in] | pressed | indicates whether the icon should be pressed |
StatusInt mdlDialog_textPDMItemSetInfo | ( | DItem_PulldownMenuItem * | menuItemP, |
TextPDM_Item * | textPDMInfoP, | ||
TextPDM_ItemModify * | textPDMModifyP | ||
) |
Sets information in the Text Pull-down Menu item specified by menuItemP using the TextPDM_Item structure pointed to by textPDMInfoP, and the TextPDM_ItemModify variable pointed to by textPDMModifyP.
[in] | menuItemP | item to set info in |
[in] | textPDMInfoP | text menu item info |
[in] | textPDMModifyP | modify info |
StatusInt mdlDialog_textPDMItemSetLabel | ( | DItem_PulldownMenuItem * | menuItemP, |
WCharCP | labelP | ||
) |
Sets the label of the Text Pull-down Menu item specified by menuItemP to the string pointed to by labelP.
[in] | menuItemP | item to set |
[in] | labelP | new label |
StatusInt mdlDialog_textPDMItemSetPressedIcon | ( | DItem_PulldownMenuItem * | menuItemP, |
RscId * | iconIdP, | ||
RscType * | iconTypeP, | ||
MdlDesc ** | iconOwnerMDP | ||
) |
Sets the pressed icon id type and owner of the specified pulldown menu item.
[in] | menuItemP | specifies the pulldown menu item to set the pressed icon for. |
[in] | iconIdP | specifies the Id of the icon to set as the "pressed" icon for the menu item, or NULL if not setting this value. |
[in] | iconTypeP | specifies the icon type, or NULL if not setting this value. |
[in] | iconOwnerMDP | is the owner of the icon ownerMD, or NULL if not setting this value. |