Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thread Control and WaitCommEvent() Pin
Daniel Lohmann23-Feb-03 7:46
Daniel Lohmann23-Feb-03 7:46 
GeneralRe: Thread Control and WaitCommEvent() Pin
lead2gold24-Feb-03 18:28
lead2gold24-Feb-03 18:28 
Generalgraphics.h Pin
InternetMill20-Feb-03 16:25
InternetMill20-Feb-03 16:25 
GeneralRe: graphics.h Pin
Paul M Watt20-Feb-03 16:46
mentorPaul M Watt20-Feb-03 16:46 
GeneralRe: graphics.h Pin
InternetMill21-Feb-03 10:08
InternetMill21-Feb-03 10:08 
GeneralGDI Pin
jeva20-Feb-03 16:01
jeva20-Feb-03 16:01 
GeneralRe: GDI Pin
Christian Graus20-Feb-03 16:07
protectorChristian Graus20-Feb-03 16:07 
QuestionChange the background colour of CCombobox? Pin
Zenith7420-Feb-03 14:23
Zenith7420-Feb-03 14:23 
Hi,
I did a search for this because I'm sure it must have been asked before but I could find anything so...

I think the subject says it all; I want to change the background colour of my CComboBox to an RGB colour with the least hassle possible. I don't really want to write my own ComboBox class and I don't really want to use one somebody else has written that does a million other things. I'm guessing there isn't anything as simple as .SetBkColor? I can do m_comboBox.GetWindowsDC()->SetBkColour(RGB(X,X,X)) but it doesn't seem to have an effect, even if I call Invalidate...
Any thoughts?

Thanks VERY much,
Philip
AnswerRe: Change the background colour of CCombobox? Pin
vikramlinux20-Feb-03 23:18
vikramlinux20-Feb-03 23:18 
GeneralInterfaces to other applications Pin
User 988520-Feb-03 12:57
User 988520-Feb-03 12:57 
GeneralRe: Interfaces to other applications Pin
Brian Olej20-Feb-03 13:52
Brian Olej20-Feb-03 13:52 
GeneralRe: Interfaces to other applications Pin
User 988520-Feb-03 13:59
User 988520-Feb-03 13:59 
GeneralRe: Interfaces to other applications Pin
Brian Olej20-Feb-03 14:26
Brian Olej20-Feb-03 14:26 
GeneralRe: Interfaces to other applications Pin
Anders Molin20-Feb-03 14:07
professionalAnders Molin20-Feb-03 14:07 
GeneralRe: Interfaces to other applications Pin
User 988521-Feb-03 3:06
User 988521-Feb-03 3:06 
General"Try" to "Catch" without "Throw" Pin
Anton A. Loukine20-Feb-03 11:39
Anton A. Loukine20-Feb-03 11:39 
GeneralRe: "Try" to "Catch" without "Throw" Pin
Dave Bryant20-Feb-03 11:51
Dave Bryant20-Feb-03 11:51 
GeneralRe: "Try" to "Catch" without "Throw" Pin
Anton A. Loukine20-Feb-03 11:58
Anton A. Loukine20-Feb-03 11:58 
GeneralRe: "Try" to "Catch" without "Throw" Pin
Gary R. Wheeler20-Feb-03 14:36
Gary R. Wheeler20-Feb-03 14:36 
GeneralRephrasing the question Pin
Anonymous21-Feb-03 3:18
Anonymous21-Feb-03 3:18 
GeneralRe: Rephrasing the question Pin
jhwurmbach21-Feb-03 3:34
jhwurmbach21-Feb-03 3:34 
GeneralRe: Rephrasing the question Pin
Gary R. Wheeler21-Feb-03 11:22
Gary R. Wheeler21-Feb-03 11:22 
GeneralRe: "Try" to "Catch" without "Throw" Pin
Chris Losinger20-Feb-03 12:06
professionalChris Losinger20-Feb-03 12:06 
GeneralRe: "Try" to "Catch" without "Throw" Pin
markkuk20-Feb-03 12:32
markkuk20-Feb-03 12:32 
GeneralRe: "Try" to "Catch" without "Throw" Pin
Anton A. Loukine20-Feb-03 12:44
Anton A. Loukine20-Feb-03 12:44 

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.