Click here to Skip to main content
15,900,511 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: computer hardware programming help Pin
Maxwell Chen27-Jul-06 17:48
Maxwell Chen27-Jul-06 17:48 
QuestionRe: computer hardware programming help Pin
Ram Murali27-Jul-06 18:06
Ram Murali27-Jul-06 18:06 
AnswerRe: computer hardware programming help Pin
Maxwell Chen27-Jul-06 18:57
Maxwell Chen27-Jul-06 18:57 
GeneralRe: computer hardware programming help Pin
Ram Murali27-Jul-06 19:04
Ram Murali27-Jul-06 19:04 
QuestionHow could I show the time in View Pin
sdhtyjnniutnbjnhbghb27-Jul-06 16:47
sdhtyjnniutnbjnhbghb27-Jul-06 16:47 
AnswerRe: How could I show the time in View Pin
see me27-Jul-06 17:24
see me27-Jul-06 17:24 
AnswerRe: How could I show the time in View Pin
Aneesh Valeri27-Jul-06 17:47
Aneesh Valeri27-Jul-06 17:47 
AnswerRe: How could I show the time in View Pin
Parthi_Appu27-Jul-06 19:45
Parthi_Appu27-Jul-06 19:45 
To show the current Time you can use CTIme::GetCurrentTime(...) or other APIs..
If you want to show the recording time, that is, how long the recording is going on.. you can use GetTickCount() as below...

DWORD dwTicks = GetTickCount();
CTimeSpan objTime(dwTicks / 1000);
CString strTime = objTime("%H %M %S");

GetTickCount() returns time in milliseconds, but CTimeSpan required only seconds... so divide the value by 1000 to get number of seconds...

Do your Duty and Don't expect the Result

QuestionMacro Pin
Hing27-Jul-06 16:10
Hing27-Jul-06 16:10 
AnswerRe: Macro Pin
Hing27-Jul-06 16:24
Hing27-Jul-06 16:24 
QuestionWM_DROPFILES for individual control... Pin
Nitron27-Jul-06 11:08
Nitron27-Jul-06 11:08 
AnswerRe: WM_DROPFILES for individual control... Pin
led mike27-Jul-06 11:43
led mike27-Jul-06 11:43 
GeneralRe: WM_DROPFILES for individual control... Pin
Nitron27-Jul-06 18:18
Nitron27-Jul-06 18:18 
QuestionReadinf From The Registry [modified] Pin
Semion_N27-Jul-06 9:43
Semion_N27-Jul-06 9:43 
AnswerRe: Readinf From The Registry [modified] Pin
PJ Arends27-Jul-06 10:13
professionalPJ Arends27-Jul-06 10:13 
GeneralRe: Readinf From The Registry Pin
Semion_N28-Jul-06 9:47
Semion_N28-Jul-06 9:47 
GeneralRe: Readinf From The Registry Pin
PJ Arends31-Jul-06 10:38
professionalPJ Arends31-Jul-06 10:38 
Questionparameter question Pin
Jay0327-Jul-06 9:41
Jay0327-Jul-06 9:41 
AnswerRe: parameter question Pin
valikac27-Jul-06 10:09
valikac27-Jul-06 10:09 
GeneralRe: parameter question Pin
Jay0327-Jul-06 10:29
Jay0327-Jul-06 10:29 
GeneralRe: parameter question Pin
Alex_Y27-Jul-06 11:34
Alex_Y27-Jul-06 11:34 
QuestionRe: parameter question Pin
Alex_Y27-Jul-06 10:31
Alex_Y27-Jul-06 10:31 
AnswerRe: parameter question Pin
Jay0327-Jul-06 10:41
Jay0327-Jul-06 10:41 
AnswerRe: parameter question Pin
David Crow27-Jul-06 10:53
David Crow27-Jul-06 10:53 
GeneralRe: parameter question Pin
Alex_Y27-Jul-06 11:31
Alex_Y27-Jul-06 11:31 

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.