IASPowerListBox::put_TitlebarUpdateMode
This method sets a mode that controls how a power list box updates the title bar of a form.
Syntax
HRESULT put_TitlebarUpdateMode( WORD wTitlebarUpdateMode );
Parameters
- wTitlebarUpdateMode
- Specifies the mode that a power list box uses when updating the title bar of a form. It is any combination of the following values.
- ASTUM_CAPTION
- Undefined.
- ASTUM_CAPTIONEDIT
- Sets the caption of the title bar equal to the caption of a power list box edit item when editing that item.
- ASTUM_CAPTIONMENU
- Sets the caption of the title bar equal to the caption of the power list box when IfmManage::put_Menu is called.
- ASTUM_EDITHIDENAV
- Hides the NavArrow control when editing a power list box item.
- ASTUM_STATUS
- Sets the status of the title bar equal to the status of the current item.
- ASTUM_SUBCAPTION
- Sets the subcaption of the title bar equal to a string, for example "2 of 7," that shows the position of the power list box
Return Values
NOERROR indicates success. E_OUTOFMEMORY indicates that the system is out of memory.
See Also
IASPowerListBox::get_TitlebarUpdateMode