Print Page | Close Window

MFC Combo Box displaying Line Weight?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=5027
Printed Date: 04 March 2025 at 10:04am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: MFC Combo Box displaying Line Weight?
Posted By: Sstar9
Subject: MFC Combo Box displaying Line Weight?
Date 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



Replies:
Posted By: Oleg
Date Posted: 12 September 2006 at 12:26am
Hi,
Use standard ComboBox + CBS_OWNERDRAWFIXED style.
Override its DrawItem and draw all you need.
 


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net