Click here to Skip to main content
15,900,472 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ question Pin
Anonymous12-Sep-05 5:37
Anonymous12-Sep-05 5:37 
GeneralRe: C++ question Pin
Sveta8012-Sep-05 5:41
Sveta8012-Sep-05 5:41 
GeneralRe: C++ question Pin
David Crow12-Sep-05 6:20
David Crow12-Sep-05 6:20 
QuestionRedrawing problems Pin
dudeua11-Sep-05 6:19
dudeua11-Sep-05 6:19 
AnswerRe: Redrawing problems Pin
PJ Arends11-Sep-05 10:12
professionalPJ Arends11-Sep-05 10:12 
GeneralRe: Redrawing problems Pin
dudeua11-Sep-05 10:44
dudeua11-Sep-05 10:44 
Questionproblem with fstream Pin
Member 224774911-Sep-05 3:24
Member 224774911-Sep-05 3:24 
QuestionHow to set the BackGround color of a window? Pin
eli1502197911-Sep-05 1:09
eli1502197911-Sep-05 1:09 
Hi,
I'm using this wonderful Tab control :
http://www.codeproject.com/tabctrl/XPTabApp.asp[^]

my problem is that the background color of the tab control is white,and when i'm adding a window to a tab,the window background color is gray.

How can I set the Background color of the window to the tab control color?

I tried to set the transparent property of the window to true but it's not working.

Also,I tried to do this with the following:
CDC *pDC = MyWindow->GetDC();

SetBkColor(pDC->m_hDC , RGB(255,255,255));
ReleaseDC(pDC);


But again,it's not working.

anyone?

regards,
Eli D'Oh! | :doh:
AnswerRe: How to set the BackGround color of a window? Pin
ThiefXXX11-Sep-05 11:16
ThiefXXX11-Sep-05 11:16 
AnswerRe: How to set the BackGround color of a window? Pin
Mircea Puiu12-Sep-05 4:40
Mircea Puiu12-Sep-05 4:40 
Questiontextbox Pin
lallaba10-Sep-05 23:26
lallaba10-Sep-05 23:26 
AnswerRe: textbox Pin
Mohammed F. Salem11-Sep-05 7:42
Mohammed F. Salem11-Sep-05 7:42 
QuestionColor map Pin
Ta Xuan Hung10-Sep-05 22:55
Ta Xuan Hung10-Sep-05 22:55 
AnswerRe: Color map Pin
Branislav12-Sep-05 0:54
Branislav12-Sep-05 0:54 
QuestionPutting a Large Icon in an MFC dialog box Pin
nde_plume10-Sep-05 21:27
nde_plume10-Sep-05 21:27 
QuestionXmlDocument: Retrieving validation file Pin
picazo10-Sep-05 14:57
picazo10-Sep-05 14:57 
AnswerResolved Pin
Anonymous10-Sep-05 16:19
Anonymous10-Sep-05 16:19 
Questiona help-bar Pin
Ali Tavakol10-Sep-05 12:08
Ali Tavakol10-Sep-05 12:08 
AnswerRe: a help-bar Pin
Ravi Bhavnani10-Sep-05 16:29
professionalRavi Bhavnani10-Sep-05 16:29 
QuestionOnButton1 Pin
Richard_4810-Sep-05 9:49
Richard_4810-Sep-05 9:49 
AnswerRe: OnButton1 Pin
ThiefXXX10-Sep-05 11:53
ThiefXXX10-Sep-05 11:53 
AnswerRe: OnButton1 Pin
David Crow10-Sep-05 17:11
David Crow10-Sep-05 17:11 
QuestionActivating Single instance Pin
laiju9-Sep-05 23:50
laiju9-Sep-05 23:50 
AnswerRe: Activating Single instance Pin
shiraztk10-Sep-05 0:03
shiraztk10-Sep-05 0:03 
GeneralRe: Activating Single instance Pin
laiju10-Sep-05 0:19
laiju10-Sep-05 0:19 

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.