Click here to Skip to main content
15,891,567 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to change the title bar of mainframe of proj? Pin
bneacetp20-Jan-04 16:45
bneacetp20-Jan-04 16:45 
Generala side effect Pin
ns21-Jan-04 1:49
ns21-Jan-04 1:49 
GeneralRe: a side effect Pin
bneacetp21-Jan-04 8:13
bneacetp21-Jan-04 8:13 
GeneralRe: a side effect Pin
ns21-Jan-04 8:42
ns21-Jan-04 8:42 
GeneralRe: a side effect Pin
bneacetp21-Jan-04 9:03
bneacetp21-Jan-04 9:03 
QuestionHow to change background color of CDialog and it's elements Pin
haritadala20-Jan-04 8:34
haritadala20-Jan-04 8:34 
AnswerRe: How to change background color of CDialog and it's elements Pin
andreas.schaerer20-Jan-04 10:40
andreas.schaerer20-Jan-04 10:40 
GeneralRe: How to change background color of CDialog and it's elements Pin
Shehzad Salim20-Jan-04 19:10
Shehzad Salim20-Jan-04 19:10 
there is an easy was aswell

take a variable of type CBrush at class level like

CBrush m_Bursh;

initiate it in OnInitDialog like

m_Bursh.CreateSolidBrush(RGB(0,0,0));//OR ANY OTHER COLOR u WANT


override the WM_CTCOLOR message handler
and add this line to its implemention

HBRUSH CBaseView::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
return m_Brush;
}

QuestionCImage::Draw - Image format? Pin
Jaran Nilsen20-Jan-04 7:42
Jaran Nilsen20-Jan-04 7:42 
Generalbring MDI child window to the top Pin
vancouver77720-Jan-04 6:15
vancouver77720-Jan-04 6:15 
GeneralUnload dll modul from process Pin
Mila02520-Jan-04 6:15
Mila02520-Jan-04 6:15 
GeneralRe: Unload dll modul from process Pin
Tom Larsen20-Jan-04 6:33
Tom Larsen20-Jan-04 6:33 
GeneralRe: Unload dll modul from process Pin
Mila02520-Jan-04 7:17
Mila02520-Jan-04 7:17 
GeneralRe: Unload dll modul from process Pin
Tom Larsen20-Jan-04 8:51
Tom Larsen20-Jan-04 8:51 
GeneralRe: Unload dll modul from process Pin
jan larsen21-Jan-04 1:51
jan larsen21-Jan-04 1:51 
GeneralRe: Unload dll modul from process Pin
Mila02521-Jan-04 5:39
Mila02521-Jan-04 5:39 
GeneralRe: Unload dll modul from process Pin
jan larsen22-Jan-04 0:44
jan larsen22-Jan-04 0:44 
GeneralInstanstiating active X Pin
act_x20-Jan-04 5:47
act_x20-Jan-04 5:47 
GeneralDetecting symbolic links on a Samba share Pin
cheesepirate20-Jan-04 5:07
cheesepirate20-Jan-04 5:07 
GeneralCOM vs .Net Pin
Hashim Saleem20-Jan-04 4:50
Hashim Saleem20-Jan-04 4:50 
GeneralRe: COM vs .Net Pin
valikac20-Jan-04 5:30
valikac20-Jan-04 5:30 
GeneralRe: COM vs .Net Pin
Hashim Saleem20-Jan-04 6:26
Hashim Saleem20-Jan-04 6:26 
GeneralRe: COM vs .Net Pin
valikac21-Jan-04 11:08
valikac21-Jan-04 11:08 
GeneralWhen and how do I know how to use Unicode Pin
BrockVnm20-Jan-04 4:48
BrockVnm20-Jan-04 4:48 
GeneralRe: When and how do I know how to use Unicode Pin
Roger Allen20-Jan-04 5:10
Roger Allen20-Jan-04 5:10 

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.