DM_LISTINFO

Far Manager

DM_LISTINFO

The DM_LISTINFO message is sent to the dialog manager to retrieve information about a DI_COMBOBOX or DI_LISTBOXlist.

Param1

The ID of the dialog item for which the information is retrieved.

Param2

Pointer to a FarListInfo structure that will contain the information about the list.

Return

TRUE - the FarListInfo structure has been filled successfully.
FALSE - error retrieving information (Param2 is NULL).

Controls

ControlDescription
DI_LISTBOX list
DI_COMBOBOX combined list

Remarks

Example

// get info about the list
struct FarListInfo ListInfo;
Info.SendDlgMessage(hDlg,DM_LISTINFO,ID,(LONG_PTR)&ListInfo;);
See also: