DM_LISTGETTITLES
The DM_LISTGETTITLES message is sent to the dialog manager to retrieve the titles (header and footer) of a
DI_LISTBOX list.
Param1
he ID of the dialog item for which the titles are retrieved.
Param2
Pointer to a FarListTitles structure where the titles will be stored.
Return
TRUE - titles have been retrieved successfully.
FALSE - the item is not a list.
FALSE - the item is not a list.
Controls
Control | Description |
---|---|
DI_LISTBOX | list |
Remarks
You must initialize the
FarListTitlesstructure before sending the message:
char Title[100]; char Bottom[100]; FarListTitles ListTitle; ListTitle.Title=Title; ListTitle.TitleLen=sizeof(Title); ListTitle.Bottom=Bottom; ListTitle.BottomLen=sizeof(Bottom); Info.SendDlgMessage(hDlg,DM_LISTGETTITLES,ID,(LONG_PTR)&ListTitle);
See also: