Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: date [modified] Pin
_AnsHUMAN_ 6-Jun-06 1:43
_AnsHUMAN_ 6-Jun-06 1:43 
GeneralRe: date Pin
p_6-Jun-06 3:20
p_6-Jun-06 3:20 
GeneralRe: date [modified] Pin
_AnsHUMAN_ 6-Jun-06 3:37
_AnsHUMAN_ 6-Jun-06 3:37 
GeneralRe: date Pin
_AnsHUMAN_ 6-Jun-06 3:32
_AnsHUMAN_ 6-Jun-06 3:32 
GeneralRe: date [modified] Pin
yogendra kaushik6-Jun-06 19:40
yogendra kaushik6-Jun-06 19:40 
GeneralRe: date [modified] Pin
_AnsHUMAN_ 6-Jun-06 19:51
_AnsHUMAN_ 6-Jun-06 19:51 
GeneralRe: date [modified] Pin
yogendra kaushik6-Jun-06 19:58
yogendra kaushik6-Jun-06 19:58 
GeneralRe: date [modified] Pin
_AnsHUMAN_ 6-Jun-06 20:10
_AnsHUMAN_ 6-Jun-06 20:10 
I think that you are having a problem in the way you are thinking and asking.
Soln:
m_datetime is the datetime control.
Now when the user modifies the date in the control you can use the following code to get the date that the user had selected in the control

    m_datetime .UpdateData();
char *str=new char[100];
m_datetime.GetWindowText (str,10);
    AfxMessageBox(str);

// str has the date.
//Extract the date from str and now continue.
Now are you able to get the soluction or some other problem

Somethings seem HARD to do, until we know how to do them.
Wink | ;-)
_AnShUmAn_


-- modified at 2:11 Wednesday 7th June, 2006
GeneralRe: date [modified] Pin
yogendra kaushik6-Jun-06 20:27
yogendra kaushik6-Jun-06 20:27 
GeneralRe: date [modified] Pin
_AnsHUMAN_ 6-Jun-06 20:33
_AnsHUMAN_ 6-Jun-06 20:33 
GeneralRe: date [modified] Pin
yogendra kaushik6-Jun-06 20:52
yogendra kaushik6-Jun-06 20:52 
GeneralRe: date [modified] Pin
_AnsHUMAN_ 6-Jun-06 21:00
_AnsHUMAN_ 6-Jun-06 21:00 
GeneralRe: date [modified] Pin
_AnsHUMAN_ 6-Jun-06 21:01
_AnsHUMAN_ 6-Jun-06 21:01 
GeneralRe: date [modified] Pin
p_6-Jun-06 21:42
p_6-Jun-06 21:42 
AnswerRe: date Pin
Laxman Auti6-Jun-06 1:43
Laxman Auti6-Jun-06 1:43 
AnswerRe: date Pin
David Crow6-Jun-06 3:28
David Crow6-Jun-06 3:28 
GeneralRe: date Pin
p_6-Jun-06 3:48
p_6-Jun-06 3:48 
QuestionRe: date Pin
David Crow6-Jun-06 3:55
David Crow6-Jun-06 3:55 
QuestionHow to copy from CBitmap to CBitmap Pin
gomez_a6-Jun-06 1:18
gomez_a6-Jun-06 1:18 
AnswerRe: How to copy from CBitmap to CBitmap Pin
V_shr6-Jun-06 1:31
V_shr6-Jun-06 1:31 
GeneralRe: How to copy from CBitmap to CBitmap Pin
ThatsAlok6-Jun-06 1:59
ThatsAlok6-Jun-06 1:59 
GeneralRe: How to copy from CBitmap to CBitmap Pin
V_shr6-Jun-06 2:11
V_shr6-Jun-06 2:11 
GeneralRe: How to copy from CBitmap to CBitmap Pin
gomez_a6-Jun-06 2:26
gomez_a6-Jun-06 2:26 
GeneralRe: How to copy from CBitmap to CBitmap Pin
ThatsAlok6-Jun-06 18:41
ThatsAlok6-Jun-06 18:41 
GeneralRe: How to copy from CBitmap to CBitmap Pin
Hamid_RT6-Jun-06 2:21
Hamid_RT6-Jun-06 2:21 

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.