Click here to Skip to main content
15,901,284 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHandling of ESCAPE and RETURN Pin
Vancouver2-Mar-07 20:40
Vancouver2-Mar-07 20:40 
AnswerRe: Handling of ESCAPE and RETURN Pin
prasad_som3-Mar-07 2:48
prasad_som3-Mar-07 2:48 
GeneralRe: Handling of ESCAPE and RETURN Pin
Vancouver3-Mar-07 10:01
Vancouver3-Mar-07 10:01 
AnswerRe: Handling of ESCAPE and RETURN Pin
karle3-Mar-07 7:27
karle3-Mar-07 7:27 
Questionradio button color Pin
prathuraj2-Mar-07 20:19
prathuraj2-Mar-07 20:19 
AnswerRe: radio button color Pin
Hamid_RT2-Mar-07 20:27
Hamid_RT2-Mar-07 20:27 
GeneralRe: radio button color -- how Pin
prathuraj2-Mar-07 22:01
prathuraj2-Mar-07 22:01 
GeneralRe: radio button color -- how Pin
Hamid_RT3-Mar-07 0:27
Hamid_RT3-Mar-07 0:27 
You must insert WM_CTLCOLORmessage to your program and for radio button its working Wink | ;) and again a short help
BEGIN_MESSAGE_MAP(CDialogDlg, CDialog)
ON_WM_CTLCOLOR()
END_MESSAGE_MAP()

HBRUSH CDialogDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);

pDC->SetBkColor(RGB(20,120,220));
pDC->SetTextColor(RGB(255,255,220));

	return hbr;
}

/////////////header file/////////////
public:
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);





WhiteSky

GeneralRe: radio button color -- how Pin
prathuraj3-Mar-07 18:06
prathuraj3-Mar-07 18:06 
GeneralRe: radio button color -- how Pin
Hamid_RT4-Mar-07 4:59
Hamid_RT4-Mar-07 4:59 
QuestionRecreate splitter Window uisng VC++ 6.0 Pin
Sunil Lanke2-Mar-07 19:44
Sunil Lanke2-Mar-07 19:44 
AnswerRe: Recreate splitter Window uisng VC++ 6.0 Pin
Monty22-Mar-07 20:27
Monty22-Mar-07 20:27 
GeneralRe: Recreate splitter Window uisng VC++ 6.0 Pin
Sunil Lanke5-Mar-07 21:52
Sunil Lanke5-Mar-07 21:52 
QuestionAny way to run an exe at logoff! Pin
ShaluMalu2-Mar-07 19:29
ShaluMalu2-Mar-07 19:29 
AnswerRe: Any way to run an exe at logoff! Pin
Monty22-Mar-07 20:29
Monty22-Mar-07 20:29 
AnswerRe: Any way to run an exe at logoff! Pin
prasad_som3-Mar-07 3:16
prasad_som3-Mar-07 3:16 
QuestionQuestion related to List box control. Pin
Sameer_Thakur2-Mar-07 19:16
Sameer_Thakur2-Mar-07 19:16 
AnswerRe: Question related to List box control. Pin
Hamid_RT2-Mar-07 19:59
Hamid_RT2-Mar-07 19:59 
GeneralRe: Question related to List box control. [modified] Pin
Sameer_Thakur2-Mar-07 22:22
Sameer_Thakur2-Mar-07 22:22 
GeneralRe: Question related to List box control. Pin
Hamid_RT3-Mar-07 0:49
Hamid_RT3-Mar-07 0:49 
GeneralRe: Question related to List box control. Pin
Sameer_Thakur3-Mar-07 2:06
Sameer_Thakur3-Mar-07 2:06 
GeneralRe: Question related to List box control. Pin
Hamid_RT3-Mar-07 7:04
Hamid_RT3-Mar-07 7:04 
AnswerRe: Question related to List box control. Pin
prasad_som3-Mar-07 6:26
prasad_som3-Mar-07 6:26 
QuestionCxShadeButton class Pin
deeps_cute2-Mar-07 19:11
deeps_cute2-Mar-07 19:11 
AnswerRe: CxShadeButton class Pin
Hamid_RT2-Mar-07 20:24
Hamid_RT2-Mar-07 20:24 

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.