Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: ToolBar Bitmaps? Pin
David Crow19-May-09 5:10
David Crow19-May-09 5:10 
AnswerRe: ToolBar Bitmaps? Pin
Software200719-May-09 5:50
Software200719-May-09 5:50 
GeneralRe: ToolBar Bitmaps? Pin
David Crow19-May-09 6:28
David Crow19-May-09 6:28 
GeneralRe: ToolBar Bitmaps? Pin
Software200719-May-09 7:38
Software200719-May-09 7:38 
QuestionRe: ToolBar Bitmaps? Pin
David Crow19-May-09 7:42
David Crow19-May-09 7:42 
AnswerRe: ToolBar Bitmaps? [modified] Pin
Software200719-May-09 7:57
Software200719-May-09 7:57 
GeneralRe: ToolBar Bitmaps? Pin
David Crow19-May-09 9:03
David Crow19-May-09 9:03 
Questionparser Pin
durban219-May-09 3:15
durban219-May-09 3:15 
The variable m_sDate2 of class CString
contains 14.06.1955
How to set value variables
int year, month, day;
CString s; ?
Have been show below attempts was failure:

//+ MessageBox(L"61.\nm_sDate2 = " + m_sDate2);
// _tscanf((LPCTSTR)m_sDate2, "%d.%d.%d", &day, &month, &year);
//1.++- s.Format(L"62.\nday = %d\n,month = %d\n,year = %d\nm_sDate2 = %s", &day, &month, &year,m_sDate2);
day = 1234628 ,month = 1234640 ,year = 1234652 m_sDate2 = 27.03.1965

//2++- s.Format(L"62a.\nday = %d\n,month = %d\n,year = %d\nm_sDate2 = %s", day, month, year,m_sDate2);
// 62a. day = -858993460 ,month = -858993460 ,year = -858993460 m_sDate2 = 27.03.1965

//3++- _tscanf((LPCTSTR)m_sDate2, "%d.%d.%d", day, month, year);
// 62b s.Format(L"62b.\nday = %d\n,month = %d\n,year = %d\nm_sDate2 = %s", day, month, year,m_sDate2);

//4++- _tscanf((LPCTSTR)m_sDate2, L"%d.%d.%d", day, month, year);

//5++- wscanf(m_sDate2, L"%d.%d.%d", day, month, year); // пусто
//6++- wscanf(m_sDate2, "%d.%d.%d", day, month, year); // пусто
//-7 scanf(m_sDate2, "%d.%d.%d", day, month, year);
//-8 scanf((LPCTSTR)m_sDate2, "%d.%d.%d", day, month, year);
//-9 scanf((LPCTSTR)m_sDate2, "%d.%d.%d", &day, &month, &year);
//-10 scanf(m_sDate2, "%d.%d.%d", &day, &month, &year);
//- swscanf((LPCTSTR)m_sDate2, "%d.%d.%d", day, month, year);
//- swscanf((LPCTSTR)m_sDate2, "%d.%d.%d", day, month, year);
//- swscanf((LPCTSTR)m_sDate2, "%d", &day);
//- swscanf(m_sDate2, "%d", &day);

_tscanf((LPCTSTR)m_sDate2, "%2d.%2d.%4d", &day, &month, &year);
s.Format(L"\nday = %d\n,month = %d\n,year = %d\nm_sDate2 = %s", &day, &month, &year,m_sDate2);
MessageBox(s);
AnswerRe: parser Pin
Michael Schubert19-May-09 3:35
Michael Schubert19-May-09 3:35 
AnswerRe: parser Pin
Rajesh R Subramanian19-May-09 3:36
professionalRajesh R Subramanian19-May-09 3:36 
AnswerRe: parser Pin
Stuart Dootson19-May-09 3:36
professionalStuart Dootson19-May-09 3:36 
GeneralRe: parser Pin
durban220-May-09 4:29
durban220-May-09 4:29 
QuestionHow to get NM_RETURN notify event from CListCtrl Pin
Nitheesh George19-May-09 2:50
Nitheesh George19-May-09 2:50 
AnswerRe: How to get NM_RETURN notify event from CListCtrl Pin
Stuart Dootson19-May-09 3:28
professionalStuart Dootson19-May-09 3:28 
GeneralRe: How to get NM_RETURN notify event from CListCtrl Pin
Nitheesh George19-May-09 4:07
Nitheesh George19-May-09 4:07 
GeneralRe: How to get NM_RETURN notify event from CListCtrl Pin
infiro4-Jun-10 11:59
infiro4-Jun-10 11:59 
QuestionTreeView Control Pin
zakkas248319-May-09 1:47
zakkas248319-May-09 1:47 
AnswerRe: TreeView Control Pin
Stuart Dootson19-May-09 2:00
professionalStuart Dootson19-May-09 2:00 
GeneralRe: TreeView Control Pin
zakkas248319-May-09 2:21
zakkas248319-May-09 2:21 
GeneralRe: TreeView Control Pin
molesworth19-May-09 2:32
molesworth19-May-09 2:32 
GeneralRe: TreeView Control Pin
zakkas248319-May-09 2:59
zakkas248319-May-09 2:59 
GeneralRe: TreeView Control Pin
molesworth19-May-09 3:44
molesworth19-May-09 3:44 
AnswerRe: TreeView Control Pin
Alain Rist19-May-09 5:01
Alain Rist19-May-09 5:01 
Questionconvert CString to const wchar_t *. Pin
Le@rner19-May-09 1:46
Le@rner19-May-09 1:46 
AnswerRe: convert CString to const wchar_t *. Pin
Rajesh R Subramanian19-May-09 1:53
professionalRajesh R Subramanian19-May-09 1:53 

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.