Click here to Skip to main content
15,902,635 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCDaoDatabase closing problem Pin
Paul Ebert28-Sep-00 8:49
Paul Ebert28-Sep-00 8:49 
GeneralRe: CDaoDatabase closing problem Pin
Tim Deveaux28-Sep-00 9:34
Tim Deveaux28-Sep-00 9:34 
QuestionHow do I change the TitleBar color (background and text) ? Pin
Alamir28-Sep-00 7:39
Alamir28-Sep-00 7:39 
GeneralCustom Build Tab in Project Settings Pin
DSabel28-Sep-00 4:25
DSabel28-Sep-00 4:25 
GeneralRe: Custom Build Tab in Project Settings Pin
Matt Weagle28-Sep-00 5:53
Matt Weagle28-Sep-00 5:53 
GeneralTab control Pin
Roger28-Sep-00 2:22
Roger28-Sep-00 2:22 
GeneralRe: Tab control Pin
Frank Deo29-Sep-00 9:21
Frank Deo29-Sep-00 9:21 
QuestionOnPaint overriding? Pin
Fredrik27-Sep-00 22:32
Fredrik27-Sep-00 22:32 
Hi!

How would the code for overriding the OnPaint() function look like? I have been trying to set the color of a slider I created with MFC. I managed to color it's background but didn't manage to change the slider "knob" or "path" color, how is this done?

I also have a Combobox wich I would like to change the color of as well, but it didn't work out either.

Then there's the frame of the window, I beieve I should override OnNcPaint() function for this but either I'm wrong or doig it wrong. =)

And changing the color of the entire application menu would be very nice if I could do this too.

Thanks in advance!

/Fredrik

AnswerChanging control colors (was: OnPaint overriding?) Pin
Michael Dunn28-Sep-00 8:15
sitebuilderMichael Dunn28-Sep-00 8:15 
GeneralChanging colors... Pin
Fredrik29-Sep-00 4:07
Fredrik29-Sep-00 4:07 
GeneralQ. Can I convert a CString value into a hex value? Urgent!!! Pin
Crystal27-Sep-00 17:44
Crystal27-Sep-00 17:44 
GeneralRe: Q. Can I convert a CString value into a hex value? Urgent!!! Pin
HP27-Sep-00 20:09
HP27-Sep-00 20:09 
QuestionParse tokens in nested parentheses? Pin
Matt Weagle27-Sep-00 16:53
Matt Weagle27-Sep-00 16:53 
AnswerRe: Parse tokens in nested parentheses? Pin
Stober27-Sep-00 17:09
Stober27-Sep-00 17:09 
AnswerRe: Parse tokens in nested parentheses? Pin
Sam Hobbs28-Sep-00 4:50
Sam Hobbs28-Sep-00 4:50 
General*** Declaring Array inside another Array *** Pin
Steve Lai27-Sep-00 11:55
Steve Lai27-Sep-00 11:55 
GeneralRe: *** Declaring Array inside another Array *** Pin
Michael Dunn27-Sep-00 14:39
sitebuilderMichael Dunn27-Sep-00 14:39 
GeneralRe: *** Declaring Array inside another Array *** Pin
Sam Hobbs27-Sep-00 15:05
Sam Hobbs27-Sep-00 15:05 
QuestionIs there any way of printing text on top of a pdf file, without printing the pdf then asking the user to stick the paper back into the printer? Pin
Erich Ruth27-Sep-00 11:34
Erich Ruth27-Sep-00 11:34 
AnswerRe: Is there any way of printing text on top of a pdf file, without printing the pdf then asking the user to stick the paper back into the printer? Pin
Feng Yuan (www.fengyuan.com)27-Sep-00 15:38
sussFeng Yuan (www.fengyuan.com)27-Sep-00 15:38 
Generalwindows 95 DDK Pin
loki rasputin27-Sep-00 11:33
loki rasputin27-Sep-00 11:33 
GeneralIs it possible to stretch a bitmap to the size of a CStatic? Pin
Marcelo Guerra27-Sep-00 4:08
Marcelo Guerra27-Sep-00 4:08 
GeneralRe: Is it possible to stretch a bitmap to the size of a CStatic? Pin
Jeremy Davis28-Sep-00 1:37
Jeremy Davis28-Sep-00 1:37 
General*** Declaring Array size from User Input *** Pin
Steve Lai27-Sep-00 3:46
Steve Lai27-Sep-00 3:46 
GeneralRe: *** Declaring Array size from User Input *** Pin
Serge Velikevitch27-Sep-00 4:21
sussSerge Velikevitch27-Sep-00 4:21 

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.