![]() |
Problem with CXTListCtrl background |
Post Reply
|
| Author | |
tataxin
Newbie
Joined: 22 May 2008 Location: United Kingdom Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Topic: Problem with CXTListCtrl backgroundPosted: 22 May 2008 at 9:03pm |
|
Hi,
I have some problem with List Control sample. I want to have checkboxes on list control, so I set extend style in OnInitDialog(), like this: m_listCtrl.ModifyExtendedStyle(0, LVS_EX_CHECKBOXES|LVS_EX_FULLROWSELECT|LVS_EX_FULLROWSELECT); when it runs, I try to change background color to black, and text color to white. Everything is ok except the background color of checkboxes? How to change background color of these items? Thank you,
|
|
![]() |
|
tataxin
Newbie
Joined: 22 May 2008 Location: United Kingdom Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 July 2008 at 8:58pm |
|
I solved it.
I have to draw it myself in NMCustomDraw function |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |