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

C / C++ / MFC

 
GeneralRe: CDialog Pin
Member 303984317-Jun-06 2:00
Member 303984317-Jun-06 2:00 
GeneralRe: CDialog Pin
Hamid_RT17-Jun-06 7:11
Hamid_RT17-Jun-06 7:11 
GeneralRe: CDialog Pin
Member 303984318-Jun-06 17:55
Member 303984318-Jun-06 17:55 
AnswerRe: CDialog Pin
NiceNaidu15-Jun-06 20:39
NiceNaidu15-Jun-06 20:39 
AnswerRe: CDialog Pin
NiceNaidu15-Jun-06 20:46
NiceNaidu15-Jun-06 20:46 
AnswerRe: CDialog [modified] Pin
Viorel.15-Jun-06 21:04
Viorel.15-Jun-06 21:04 
AnswerRe: CDialog Pin
Naveen15-Jun-06 22:22
Naveen15-Jun-06 22:22 
GeneralRe: CDialog Pin
Member 303984315-Jun-06 22:37
Member 303984315-Jun-06 22:37 
But the background color is not changing. Here is my code:
OnPaint()
{
.............
CSliderApp* app=(CSliderApp*)AfxGetApp();
app->ChangeDialogColor((COLORREF)m_clr.GetPos());
}


void CSliderApp::ChangeDialogColor(COLORREF ref)
{
SetDialogBkColor(ref);
}

Is there anything wrongConfused | :confused:
QuestionRe: CDialog Pin
Hamid_RT15-Jun-06 22:54
Hamid_RT15-Jun-06 22:54 
GeneralRe: CDialog Pin
Viorel.15-Jun-06 23:09
Viorel.15-Jun-06 23:09 
GeneralRe: CDialog [modified] Pin
Naveen15-Jun-06 23:15
Naveen15-Jun-06 23:15 
GeneralRe: CDialog Pin
Member 303984316-Jun-06 2:04
Member 303984316-Jun-06 2:04 
GeneralRe: CDialog Pin
Naveen16-Jun-06 2:15
Naveen16-Jun-06 2:15 
GeneralRe: CDialog Pin
Member 303984316-Jun-06 20:34
Member 303984316-Jun-06 20:34 
GeneralRe: CDialog Pin
Naveen16-Jun-06 20:40
Naveen16-Jun-06 20:40 
Questioninsert query using Recordsetptr into Access Pin
shuchigo_jane15-Jun-06 19:58
shuchigo_jane15-Jun-06 19:58 
QuestionRe: insert query using Recordsetptr into Access Pin
NiceNaidu15-Jun-06 20:09
NiceNaidu15-Jun-06 20:09 
AnswerRe: insert query using Recordsetptr into Access Pin
shuchigo_jane15-Jun-06 20:15
shuchigo_jane15-Jun-06 20:15 
GeneralRe: insert query using Recordsetptr into Access Pin
NiceNaidu15-Jun-06 20:36
NiceNaidu15-Jun-06 20:36 
GeneralRe: insert query using Recordsetptr into Access Pin
shuchigo_jane15-Jun-06 21:23
shuchigo_jane15-Jun-06 21:23 
GeneralRe: insert query using Recordsetptr into Access Pin
shuchigo_jane15-Jun-06 20:36
shuchigo_jane15-Jun-06 20:36 
QuestionATL with C code Pin
marcoslav15-Jun-06 19:53
marcoslav15-Jun-06 19:53 
AnswerRe: ATL with C code Pin
NiceNaidu15-Jun-06 21:47
NiceNaidu15-Jun-06 21:47 
GeneralRe: ATL with C code Pin
marcoslav15-Jun-06 23:41
marcoslav15-Jun-06 23:41 
Questionhow to Lock the screen when we shut the window? Pin
xuwenq8815-Jun-06 19:25
xuwenq8815-Jun-06 19:25 

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.