DGListSetItemOwnerDrawFlag
Sets the update flag of a list item of a list box.
void DGListSetItemOwnerDrawFlag ( short dialId, short item, short listItem, bool isOwnerDrawn );
Parameters
- dialId
- ID of the dialog or tab page. DG_TOP_MODAL specifies the topmost modal dialog.
- item
- 1-based index of the dialog item.
- listItem
- 1-based index of the list item in the list box. It has to be between 1 and n where n is the count of list items.
- isOwnerDrawn
-
Value Meaning false If the list item is drawn by DG. true The list item must be drawn by the application.
Remarks
After the update flag of a list item is set to true, the dialog callback function receives a DG_MSG_UPDATE message whenever the list item must be updated. The message data parameter is a pointer to a DGListUpdateData structure that contains all the information needed to update the list item.
Requirements
- Version: DG 18.0.0 or later
- Header: DG.h
- Import Library: DG.lib [WIN]
- Module: DGLib [MAC], DG.dll [WIN]
See Also
DG Functions, List Box, DGListGetTabFieldUpdateFlag
DGListSetTabFieldCount DGListSetTabFieldData, DGListUpdateData, DG_MSG_UPDATE