Click here to Skip to main content
15,911,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to register class name for window Pin
kmani_soft20-Apr-08 23:38
kmani_soft20-Apr-08 23:38 
AnswerRe: how to register class name for window Pin
Iain Clarke, Warrior Programmer21-Apr-08 3:12
Iain Clarke, Warrior Programmer21-Apr-08 3:12 
AnswerRe: how to register class name for window Pin
Rajkumar R21-Apr-08 3:19
Rajkumar R21-Apr-08 3:19 
GeneralCleint Server Programming [modified] Pin
Abhijit A20-Apr-08 23:21
Abhijit A20-Apr-08 23:21 
GeneralRe: Cleint Server Programming Pin
Jhony george21-Apr-08 2:40
Jhony george21-Apr-08 2:40 
QuestionHow to Add Two Time Pin
sharanu20-Apr-08 23:06
sharanu20-Apr-08 23:06 
AnswerRe: How to Add Two Time Pin
CPallini20-Apr-08 23:23
mveCPallini20-Apr-08 23:23 
GeneralRe: How to Add Two Time Pin
sharanu21-Apr-08 1:09
sharanu21-Apr-08 1:09 
Hi..
I am using COleDateTime....
I am getting the current time in format hhmmss..
I am a reading a parameter which has only minutes Example 10 min..
I have to add 10 min to current time i.e hhmmss..
Note) The parameter in code csDuration is in minutes
here is my code

////////////////////////////////////////////////////////////////
COleDateTime StartTime;
StartTime = COleDateTime::GetCurrentTime();
CString StTime;

StTime.Format("%02d:%02d:%02d",StartTime.GetHour(),StartTime.GetMinute(),StartTime.GetSecond());
COleDateTimeSpan ts1(Sttime);
COleDateTimeSpan ts2(csDuration);
COleDateTimeSpan ts3 = ts1 + ts2;
////////////////////////////////////////////////////////////////////
plz help me

thank you

Hi,,
I am sharan.Working as a software Engineer in Indo-Fuji Software Company located in BTM Layout.Bangalore.India.
I have Completed my B.E(COmputers)in 2006.ANd I am having 2 years of Exp in VC++.
thanking you
sharan

QuestionRe: How to Add Two Time [modified] Pin
CPallini21-Apr-08 1:49
mveCPallini21-Apr-08 1:49 
GeneralRe: How to Add Two Time Pin
sharanu21-Apr-08 2:32
sharanu21-Apr-08 2:32 
GeneralRe: How to Add Two Time Pin
CPallini21-Apr-08 2:44
mveCPallini21-Apr-08 2:44 
GeneralRe: How to Add Two Time Pin
sharanu21-Apr-08 3:30
sharanu21-Apr-08 3:30 
GeneralRe: How to Add Two Time Pin
sharanu21-Apr-08 4:08
sharanu21-Apr-08 4:08 
GeneralRe: How to Add Two Time Pin
David Crow21-Apr-08 4:17
David Crow21-Apr-08 4:17 
GeneralRe: How to Add Two Time Pin
sharanu21-Apr-08 4:28
sharanu21-Apr-08 4:28 
QuestionRe: How to Add Two Time Pin
David Crow21-Apr-08 4:34
David Crow21-Apr-08 4:34 
GeneralRe: How to Add Two Time Pin
sharanu21-Apr-08 4:50
sharanu21-Apr-08 4:50 
GeneralRe: How to Add Two Time Pin
David Crow21-Apr-08 4:54
David Crow21-Apr-08 4:54 
AnswerRe: How to Add Two Time Pin
led mike21-Apr-08 4:53
led mike21-Apr-08 4:53 
QuestionRe: How to Add Two Time Pin
David Crow21-Apr-08 5:01
David Crow21-Apr-08 5:01 
AnswerRe: How to Add Two Time Pin
led mike21-Apr-08 5:40
led mike21-Apr-08 5:40 
GeneralRe: How to Add Two Time Pin
CPallini21-Apr-08 5:54
mveCPallini21-Apr-08 5:54 
GeneralHow to Compare Two Date Pin
sharanu21-Apr-08 23:35
sharanu21-Apr-08 23:35 
GeneralRe: How to Compare Two Date Pin
CPallini22-Apr-08 0:36
mveCPallini22-Apr-08 0:36 
GeneralRe: How to Compare Two Date Pin
sharanu22-Apr-08 1:42
sharanu22-Apr-08 1:42 

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.