Click here to Skip to main content
15,898,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTaskbar icon mouse messages and keyboard modifiers Pin
cheesepirate28-May-04 0:24
cheesepirate28-May-04 0:24 
QuestionFunction template passed as typename argument? Pin
Indrawati28-May-04 0:12
Indrawati28-May-04 0:12 
AnswerRe: Function template passed as typename argument? Pin
Ryan Binns28-May-04 0:53
Ryan Binns28-May-04 0:53 
AnswerRe: Function template passed as typename argument? Pin
cheesepirate28-May-04 0:53
cheesepirate28-May-04 0:53 
GeneralRe: Function template passed as typename argument? Pin
toxcct28-May-04 1:10
toxcct28-May-04 1:10 
GeneralRe: Function template passed as typename argument? Pin
cheesepirate28-May-04 2:23
cheesepirate28-May-04 2:23 
AnswerRe: Function template passed as typename argument? Pin
toxcct28-May-04 1:12
toxcct28-May-04 1:12 
GeneralProblem subclassing list of owner-drawn combobox Pin
Paul Vickery27-May-04 23:46
professionalPaul Vickery27-May-04 23:46 
I have a ComboBox in which I am subclassing the list box (see my article Case-sensitive ComboBox[^]).

I now have a requirement to make some of the items bold. This is easily done by using an owner-drawn combo box. However, when I subclass the list of an owner-drawn combo, the list itself becomes owner drawn. This is a problem as it means that the list would need to know about which items to bold, but the information is in the combo box (apart from the fact that it just makes the architecture messy).

Has anyone come across this before? In a normal owner-drawn combo the drawing of the list items seems to be delegated to the combo, but I can't see a way of telling the subclassed list to do the same.

Any ideas would be appreciated!



"The way of a fool seems right to him, but a wise man listens to advice" - Proverbs 12:15 (NIV)
GeneralRe: Problem subclassing list of owner-drawn combobox Pin
Paul Vickery28-May-04 1:22
professionalPaul Vickery28-May-04 1:22 
QuestionHow to save GDI+ bmp as CMYK color GDI+ bmp Pin
pubududilena27-May-04 23:44
pubududilena27-May-04 23:44 
Questionchar* arr = “Nisse”; ? Pin
anderslundsgard27-May-04 23:34
anderslundsgard27-May-04 23:34 
AnswerRe: char* arr = “Nisse”; ? Pin
Roger Allen27-May-04 23:38
Roger Allen27-May-04 23:38 
AnswerRe: char* arr = “Nisse”; ? Pin
toxcct27-May-04 23:38
toxcct27-May-04 23:38 
AnswerRe: char* arr = “Nisse”; ? Pin
jmkhael28-May-04 0:55
jmkhael28-May-04 0:55 
Answer[Message Deleted] Pin
Naren Neelamegam28-May-04 19:58
Naren Neelamegam28-May-04 19:58 
GeneralRe: char* arr = “Nisse”; ? Pin
toroso7328-May-04 21:04
toroso7328-May-04 21:04 
GeneralExperts pls help ! General question Pin
Member 115017627-May-04 21:49
Member 115017627-May-04 21:49 
Generalfullscreen dialog control Pin
Bilge Kaan27-May-04 21:30
Bilge Kaan27-May-04 21:30 
GeneralRe: fullscreen dialog control Pin
Ryan Binns28-May-04 0:57
Ryan Binns28-May-04 0:57 
QuestionHow can i make ComboBox read only Pin
Zeeshan Bilal27-May-04 20:39
Zeeshan Bilal27-May-04 20:39 
AnswerRe: How can i make ComboBox read only Pin
toxcct27-May-04 21:53
toxcct27-May-04 21:53 
GeneralA Dialog Box Problem Pin
Imtiaz Murtaza27-May-04 19:37
Imtiaz Murtaza27-May-04 19:37 
GeneralRe: A Dialog Box Problem Pin
Anthony_Yio27-May-04 19:57
Anthony_Yio27-May-04 19:57 
GeneralRe: A Dialog Box Problem Pin
Zeeshan Bilal27-May-04 20:36
Zeeshan Bilal27-May-04 20:36 
GeneralRe: A Dialog Box Problem Pin
Ravi Bhavnani28-May-04 2:36
professionalRavi Bhavnani28-May-04 2:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.