Author:Ralph Wessel
Posted: Thu Nov 23, 2017 10:24 am (GMT+1)
1) DG_LIST_UNCHECKEDICON is the index of an icon resource, so you should apply it to a list with DGListSetTabItemIconId.
2) Try using DGListSetItemBackgroundColor.
_________________
Ralph Wessel
Cadimage
Posted: Thu Nov 23, 2017 10:24 am (GMT+1)
IanTr wrote: |
I have 2 questions: (1) I am trying to put a column of checkboxes into my listboxes... Currently doing something like: DGListSetDialItemOnTabField ( IDD_BACKSYNC, GetListIDFromDialog( pEntry->GetEntryType() ), 2, DG_LIST_UNCHECKEDICON ); but not seeing any checkbox. (2) // THIS LINE WILL CREATE A BLACK, when it should be red. DGListSetTabItemBackgroundColor ( IDD_BACKSYNC, GetListIDFromDialog( pEntry->GetEntryType() ), DG::ListBox::BottomItem, 1, 255, 0, 0 ); |
1) DG_LIST_UNCHECKEDICON is the index of an icon resource, so you should apply it to a list with DGListSetTabItemIconId.
2) Try using DGListSetItemBackgroundColor.
_________________
Ralph Wessel
Cadimage