Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTerminating DOS Process under WinNT/2000 Pin
Ronald L. Russell Jr. (Ron)25-Sep-00 13:19
sussRonald L. Russell Jr. (Ron)25-Sep-00 13:19 
GeneralCCheckListBox Base class Pin
jcyoon25-Sep-00 9:27
jcyoon25-Sep-00 9:27 
GeneralRe: CCheckListBox Base class Pin
Sam Hobbs25-Sep-00 12:44
Sam Hobbs25-Sep-00 12:44 
GeneralConvert Date&Time string to DATE type Pin
Tony Li25-Sep-00 5:52
Tony Li25-Sep-00 5:52 
GeneralUnicode/Ansi conversion macros in '.c' files Pin
Chris Vischer25-Sep-00 4:51
Chris Vischer25-Sep-00 4:51 
GeneralRe: Unicode/Ansi conversion macros in '.c' files Pin
Stober27-Sep-00 17:19
Stober27-Sep-00 17:19 
General[Q]Office Automation...(PowerPoint..) with client script Pin
Ryan Park24-Sep-00 23:04
Ryan Park24-Sep-00 23:04 
GeneralColors in my dialog... Pin
Fredrik24-Sep-00 21:35
Fredrik24-Sep-00 21:35 
Hi!
I have a problem with colors in my C++ MFC application.

The dialog window looks for what colors windows have in the registry and uses these colors to color the dialog. Thats the system colors that are located in the registry under the key: "MyComputer\HKEY_CURRENT_USER\Control Panel\Colors". These are the so called system colors, the colors the system sets for your dialog (if you don't draw it yourself). What I want to do is, I'd like my dialog window to look for it's own colors in the same kind of way, but at another location, wich I would have define. Maybe,"MyComputer\HKEY_CURRENT_USER\Software\MyProgram\Colors" where I can set the dialog window colors myself. To do this, I have to change where in the registry my dialog window looks for it's colors. Adding the necissary keys and colors is no biggie, but how do I redirect where\how the program looks for these colors?

If you don't know how to do this, could you help me with how the overriding of the OnPaint function should look like for any of the following things: A slider, ComboBox, the menu, the dialog window and boarder.

Thx, most thankfull for help. =)

/Fredrik
GeneralBrowsers installed in my system Pin
santhosh kumar s24-Sep-00 21:21
santhosh kumar s24-Sep-00 21:21 
General*** Displaying COleVariant variables *** Pin
Steve Lai24-Sep-00 19:25
Steve Lai24-Sep-00 19:25 
QuestionRGB to 5.6.5 translation? Pin
Erik24-Sep-00 10:33
Erik24-Sep-00 10:33 
AnswerRe: RGB to 5.6.5 translation? Pin
Feng Yuan25-Sep-00 16:10
Feng Yuan25-Sep-00 16:10 
GeneralRe: RGB to 5.6.5 translation? Pin
Erik25-Sep-00 21:32
Erik25-Sep-00 21:32 
QuestionTear-off tabs? Pin
James Corrie23-Sep-00 13:37
sussJames Corrie23-Sep-00 13:37 
AnswerI have some code, but it isn't fineshed. Pin
David Wulff25-Sep-00 5:39
David Wulff25-Sep-00 5:39 
GeneralNo Subject Pin
Anonymous23-Sep-00 13:35
Anonymous23-Sep-00 13:35 
GeneralKeyboard hooks and sending keystrokes! Pin
Mustafa Demirhan23-Sep-00 10:58
Mustafa Demirhan23-Sep-00 10:58 
GeneralStretching Bitmap Problem Pin
mirsad23-Sep-00 3:39
mirsad23-Sep-00 3:39 
GeneralRe: Stretching Bitmap Problem Pin
Feng Yuan25-Sep-00 16:08
Feng Yuan25-Sep-00 16:08 
GeneralProgress Bar (PumpMessages() function problem?) Pin
Jon22-Sep-00 15:54
Jon22-Sep-00 15:54 
GeneralRe: Progress Bar (PumpMessages() function problem?) Pin
Sam Hobbs23-Sep-00 9:00
Sam Hobbs23-Sep-00 9:00 
GeneralRe: Progress Bar (PumpMessages() function problem?) Pin
Jon23-Sep-00 17:40
Jon23-Sep-00 17:40 
GeneralRe: Progress Bar (PumpMessages() function problem?) Pin
Sam Hobbs24-Sep-00 14:43
Sam Hobbs24-Sep-00 14:43 
GeneralRe: Progress Bar (PumpMessages() function problem?) Pin
Jon24-Sep-00 15:31
Jon24-Sep-00 15:31 
GeneralCXTabCtrl and accessing Data in CDocument Pin
Brad Chase22-Sep-00 11:11
Brad Chase22-Sep-00 11:11 

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.