Click here to Skip to main content
15,895,423 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Initializing Structure in a class Pin
toxcct20-Dec-05 3:02
toxcct20-Dec-05 3:02 
GeneralRe: Initializing Structure in a class Pin
vikas amin20-Dec-05 3:09
vikas amin20-Dec-05 3:09 
GeneralRe: Initializing Structure in a class Pin
toxcct20-Dec-05 3:13
toxcct20-Dec-05 3:13 
GeneralRe: Initializing Structure in a class Pin
Russell'20-Dec-05 3:20
Russell'20-Dec-05 3:20 
GeneralRe: Initializing Structure in a class Pin
Blake Miller20-Dec-05 4:26
Blake Miller20-Dec-05 4:26 
GeneralRe: Initializing Structure in a class Pin
Russell'20-Dec-05 4:37
Russell'20-Dec-05 4:37 
QuestionImplementing Doc/View/Frame in an ActiveX control Pin
zulat20-Dec-05 2:21
zulat20-Dec-05 2:21 
Questionchanging background color of messagebox windows,menu Pin
_kane_20-Dec-05 1:17
_kane_20-Dec-05 1:17 
hello,

i changed the background color of my dialogs in a dialog based MFC app by adding the following code:

SetDialogBkColor(RGB(150, 150, 150), RGB(0, 0, 0));

in my dialog based applications "Initinstance". However though the dialogs have all changed color, the background color of MessageBox() has not, and also the menu Button (Like File, Edit, Help) bar still follows the windows theme color. The menu options however show in white which is fine. I just want to change the background color of my messagebox and the color of my top menu.

Any pointers on how to do this?

"Some guys hack just to get themselves a girlfriend.What a pathetic reason huh ?"
Questionbitmapped title/caption bar in MFC Pin
_kane_20-Dec-05 1:08
_kane_20-Dec-05 1:08 
AnswerRe: bitmapped title/caption bar in MFC Pin
_kane_20-Dec-05 1:28
_kane_20-Dec-05 1:28 
QuestionHow to write data from a.txt into excel file? Pin
zhonglin.liang20-Dec-05 1:08
zhonglin.liang20-Dec-05 1:08 
AnswerRe: How to write data from a.txt into excel file? Pin
khan++20-Dec-05 1:31
khan++20-Dec-05 1:31 
GeneralRe: How to write data from a.txt into excel file? Pin
zhonglin.liang20-Dec-05 3:51
zhonglin.liang20-Dec-05 3:51 
QuestionMSXML encodings Pin
Marc Soleda20-Dec-05 0:54
Marc Soleda20-Dec-05 0:54 
Questionstopping upload/download process in CHtmlView class Pin
Shailesh Ha20-Dec-05 0:12
Shailesh Ha20-Dec-05 0:12 
QuestionDisable network iface? Pin
lynchspawn20-Dec-05 0:11
lynchspawn20-Dec-05 0:11 
QuestionFinding Running Application Pin
rajeevktripathi19-Dec-05 23:41
rajeevktripathi19-Dec-05 23:41 
AnswerRe: Finding Running Application Pin
SilentSilent19-Dec-05 23:50
SilentSilent19-Dec-05 23:50 
AnswerRe: Finding Running Application Pin
ThatsAlok20-Dec-05 0:20
ThatsAlok20-Dec-05 0:20 
QuestionVisual Studio 6 custom build steps: run *before* any other compile? Pin
Taka Muraoka19-Dec-05 23:14
Taka Muraoka19-Dec-05 23:14 
AnswerRe: Visual Studio 6 custom build steps: run *before* any other compile? Pin
SilentSilent19-Dec-05 23:45
SilentSilent19-Dec-05 23:45 
GeneralRe: Visual Studio 6 custom build steps: run *before* any other compile? Pin
Taka Muraoka20-Dec-05 0:25
Taka Muraoka20-Dec-05 0:25 
QuestionHow to use MSVC Compiler for Pro*C Pin
Manish Paul19-Dec-05 23:08
Manish Paul19-Dec-05 23:08 
AnswerRe: How to use MSVC Compiler for Pro*C Pin
toxcct19-Dec-05 23:17
toxcct19-Dec-05 23:17 
QuestionHow to test if the field of my table is NULL Pin
mikobi19-Dec-05 23:07
mikobi19-Dec-05 23:07 

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.