Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - MFC Combo Box displaying Line Weight?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MFC Combo Box displaying Line Weight?

 Post Reply Post Reply
Author
Message
Sstar9 View Drop Down
Newbie
Newbie


Joined: 25 August 2006
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sstar9 Quote  Post ReplyReply Direct Link To This Post Topic: MFC Combo Box displaying Line Weight?
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.066 seconds.