![]() |
MFC Combo Box displaying Line Weight? |
Post Reply ![]() |
Author | |
Sstar9 ![]() Newbie ![]() Joined: 25 August 2006 Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() Posted: 11 September 2006 at 10:03pm |
I want to design a Combox box to be used on a Dialog (Not Toolbar), which drops down a list of black lines with different weight. It is similar to the "Line Weight" Combo box and "Line Style" combo box on "Tables and Borders" toolbar in Microsoft Word 2003.
Oleg, do you have any idea on how that could done with CodeJock tools?
|
|
Sharing makes life better
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Use standard ComboBox + CBS_OWNERDRAWFIXED style.
Override its DrawItem and draw all you need.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |