Click here to Skip to main content
15,894,337 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Time and Date Pin
Hamid_RT9-Jan-08 23:42
Hamid_RT9-Jan-08 23:42 
JokeRe: Time and Date Pin
CPallini10-Jan-08 0:27
mveCPallini10-Jan-08 0:27 
GeneralRe: Time and Date Pin
Hamid_RT10-Jan-08 1:42
Hamid_RT10-Jan-08 1:42 
GeneralRe: Time and Date Pin
CPallini10-Jan-08 2:09
mveCPallini10-Jan-08 2:09 
GeneralRe: Time and Date Pin
Hamid_RT10-Jan-08 3:44
Hamid_RT10-Jan-08 3:44 
GeneralRe: Time and Date Pin
Maxwell Chen9-Jan-08 23:31
Maxwell Chen9-Jan-08 23:31 
GeneralRe: Time and Date Pin
Hamid_RT9-Jan-08 23:41
Hamid_RT9-Jan-08 23:41 
GeneralRe: Time and Date Pin
Nishad S9-Jan-08 22:54
Nishad S9-Jan-08 22:54 
1. You have to set a timer. (If you need to show the second then ellapsed time should be less than 1 sec)
2. In the OnTimer function you can call InvalidateRect.
3. In the OnPaint get the current time using COleDateTime::GetCurrentTime, format and draw it to the DC.

- NS -
[ODBaseBtn]

GeneralRe: Time and Date Pin
Hamid_RT9-Jan-08 23:25
Hamid_RT9-Jan-08 23:25 
GeneralRe: Time and Date Pin
Chandrasekharan P9-Jan-08 23:44
Chandrasekharan P9-Jan-08 23:44 
JokeRe: Time and Date Pin
CPallini9-Jan-08 23:52
mveCPallini9-Jan-08 23:52 
GeneralRe: Time and Date Pin
Chandrasekharan P10-Jan-08 0:56
Chandrasekharan P10-Jan-08 0:56 
GeneralRe: Time and Date Pin
CPallini10-Jan-08 1:52
mveCPallini10-Jan-08 1:52 
GeneralRe: Time and Date Pin
David Crow10-Jan-08 2:36
David Crow10-Jan-08 2:36 
QuestionDrawing on a dialog box which is a child of CFormView Pin
Wamuti9-Jan-08 21:43
Wamuti9-Jan-08 21:43 
QuestionRe: Drawing on a dialog box which is a child of CFormView Pin
CPallini9-Jan-08 21:54
mveCPallini9-Jan-08 21:54 
GeneralRe: Drawing on a dialog box which is a child of CFormView Pin
Wamuti9-Jan-08 22:11
Wamuti9-Jan-08 22:11 
GeneralRe: Drawing on a dialog box which is a child of CFormView Pin
CPallini9-Jan-08 22:36
mveCPallini9-Jan-08 22:36 
Questionworking set is larger than virtual bytes? Pin
George_George9-Jan-08 21:41
George_George9-Jan-08 21:41 
AnswerRe: working set is larger than virtual bytes? Pin
David Crow10-Jan-08 2:39
David Crow10-Jan-08 2:39 
GeneralRe: working set is larger than virtual bytes? Pin
George_George10-Jan-08 2:50
George_George10-Jan-08 2:50 
GeneralRe: working set is larger than virtual bytes? Pin
David Crow10-Jan-08 3:34
David Crow10-Jan-08 3:34 
GeneralRe: working set is larger than virtual bytes? Pin
George_George10-Jan-08 3:40
George_George10-Jan-08 3:40 
GeneralLoadIcon 16x16, 32x32, 48x48 multi-icon resource Pin
Lea Hayes9-Jan-08 21:34
Lea Hayes9-Jan-08 21:34 
GeneralRe: LoadIcon 16x16, 32x32, 48x48 multi-icon resource [modified] Pin
Nishad S9-Jan-08 22:11
Nishad S9-Jan-08 22:11 

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.