Click here to Skip to main content
15,914,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: setcretiontime Pin
Dominik Reichl25-Aug-05 1:19
Dominik Reichl25-Aug-05 1:19 
AnswerRe: setcretiontime Pin
David Crow25-Aug-05 3:12
David Crow25-Aug-05 3:12 
QuestionHow to Check/ Uncheck menu item Pin
Hachaso25-Aug-05 0:39
Hachaso25-Aug-05 0:39 
AnswerRe: How to Check/ Uncheck menu item Pin
Rage25-Aug-05 1:16
professionalRage25-Aug-05 1:16 
AnswerRe: How to Check/ Uncheck menu item Pin
hatemtaleb25-Oct-05 0:30
hatemtaleb25-Oct-05 0:30 
QuestionAbout CMonthCalCtrl Pin
parims25-Aug-05 0:34
parims25-Aug-05 0:34 
AnswerRe: About CMonthCalCtrl Pin
ThatsAlok25-Aug-05 1:00
ThatsAlok25-Aug-05 1:00 
QuestionAbout CMonthCalCtrl to display selected Date Pin
parims25-Aug-05 0:30
parims25-Aug-05 0:30 
I am new to MFC.
I added CMonthCalCtrl and set the variable ,,
m_month -- to CMonthCalCtrl
and write the below code in MCM_SELCHANGE in message handler.


void CTabOne::OnSelchangeMonthcalendar1(NMHDR* pNMHDR, LRESULT* pResult)
{
CString m_strDate;
CTime ct;
m_month.GetCurSel(ct);
m_strDate.Format("%2d-%2d-%2d",ct.GetDay(),ct.GetMonth(),ct.GetYear());
MessageBox(m_strDate);

UpdateData(FALSE);

*pResult = 0;
}


=============
Plz Help me ., I am getting Date field error.
Aelected date is coming with 12 adding to real date.


Praveen Chowdam Kumar
AnswerRe: About CMonthCalCtrl to display selected Date Pin
Nishad S25-Aug-05 1:31
Nishad S25-Aug-05 1:31 
AnswerRe: About CMonthCalCtrl to display selected Date Pin
David Crow25-Aug-05 3:15
David Crow25-Aug-05 3:15 
Questionlinkage problem Pin
AngelIdan25-Aug-05 0:20
sussAngelIdan25-Aug-05 0:20 
AnswerRe: linkage problem Pin
toxcct25-Aug-05 0:33
toxcct25-Aug-05 0:33 
GeneralRe: linkage problem Pin
sunit525-Aug-05 1:19
sunit525-Aug-05 1:19 
AnswerRe: linkage problem Pin
MailtoGops25-Aug-05 1:34
MailtoGops25-Aug-05 1:34 
QuestionCListView hidden column Pin
study.sourabh24-Aug-05 23:54
study.sourabh24-Aug-05 23:54 
AnswerRe: CListView hidden column Pin
Rage25-Aug-05 1:29
professionalRage25-Aug-05 1:29 
GeneralRe: CListView hidden column Pin
dabs25-Aug-05 2:11
dabs25-Aug-05 2:11 
QuestionRe: CListView hidden column Pin
David Crow25-Aug-05 3:20
David Crow25-Aug-05 3:20 
AnswerRe: CListView hidden column Pin
study.sourabh29-Aug-05 0:52
study.sourabh29-Aug-05 0:52 
AnswerRe: CListView hidden column Pin
Anonymous10-Oct-05 17:21
Anonymous10-Oct-05 17:21 
QuestionGetting the caption of button controls in YESNOCANCEL Messagebox? Pin
pradeepvarghesek24-Aug-05 23:53
pradeepvarghesek24-Aug-05 23:53 
AnswerRe: Getting the caption of button controls in YESNOCANCEL Messagebox? Pin
toxcct25-Aug-05 0:04
toxcct25-Aug-05 0:04 
GeneralRe: Getting the caption of button controls in YESNOCANCEL Messagebox? Pin
pradeepvarghesek25-Aug-05 0:32
pradeepvarghesek25-Aug-05 0:32 
AnswerRe: Getting the caption of button controls in YESNOCANCEL Messagebox? Pin
ThatsAlok25-Aug-05 0:29
ThatsAlok25-Aug-05 0:29 
GeneralRe: Getting the caption of button controls in YESNOCANCEL Messagebox? Pin
pradeepvarghesek25-Aug-05 1:58
pradeepvarghesek25-Aug-05 1:58 

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.