Click here to Skip to main content
15,913,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tooltip positioning Pin
Nishad S3-Apr-06 17:36
Nishad S3-Apr-06 17:36 
Questiondynamic buttons Pin
lorey3-Apr-06 0:49
lorey3-Apr-06 0:49 
Questiondecrypting the file Pin
code663-Apr-06 0:22
code663-Apr-06 0:22 
AnswerRe: decrypting the file Pin
toxcct3-Apr-06 0:25
toxcct3-Apr-06 0:25 
GeneralRe: decrypting the file Pin
code663-Apr-06 0:33
code663-Apr-06 0:33 
GeneralRe: decrypting the file Pin
code663-Apr-06 0:42
code663-Apr-06 0:42 
QuestionCMonthCalCtrl funny Pin
mcsherry2-Apr-06 23:47
mcsherry2-Apr-06 23:47 
AnswerRe: CMonthCalCtrl funny Pin
mcsherry3-Apr-06 2:48
mcsherry3-Apr-06 2:48 
further to this.

I've created a new MFC dialog and added a calander and a drop down box, I've then added the following code on the SelChange method of the calander along with a break point:

CTime myTime ;
m_Calander.GetCurSel ( myTime ) ;

int day = myTime.GetDay ( ) ;
int month = myTime.GetMonth ( ) ;
int year = myTime.GetYear ( ) ;

running the porgram and selecting different dates on the calander gives the correct results, however as soon as I click on the drop down box and then click on another date on this calander the result is incorrect!
Any ideas?

cheers,
Andy
AnswerRe: CMonthCalCtrl funny Pin
mcsherry3-Apr-06 3:30
mcsherry3-Apr-06 3:30 
QuestionFinding files Pin
Waldermort2-Apr-06 23:44
Waldermort2-Apr-06 23:44 
AnswerRe: Finding files Pin
khan++2-Apr-06 23:50
khan++2-Apr-06 23:50 
GeneralRe: Finding files Pin
Waldermort2-Apr-06 23:55
Waldermort2-Apr-06 23:55 
AnswerRe: Finding files Pin
Waldermort3-Apr-06 0:04
Waldermort3-Apr-06 0:04 
AnswerRe: Finding files Pin
Hamid_RT3-Apr-06 1:48
Hamid_RT3-Apr-06 1:48 
Questionhow do u do this???? Pin
slurpyz2-Apr-06 23:32
slurpyz2-Apr-06 23:32 
AnswerRe: how do u do this???? Pin
Abebe2-Apr-06 23:41
Abebe2-Apr-06 23:41 
QuestionRe: how do u do this???? Pin
David Crow3-Apr-06 2:28
David Crow3-Apr-06 2:28 
QuestionHow to handle Close button in MDI? Pin
Sarvan AL2-Apr-06 23:27
Sarvan AL2-Apr-06 23:27 
AnswerRe: How to handle Close button in MDI? Pin
khan++2-Apr-06 23:45
khan++2-Apr-06 23:45 
GeneralRe: How to handle Close button in MDI? Pin
Sarvan AL2-Apr-06 23:58
Sarvan AL2-Apr-06 23:58 
GeneralRe: How to handle Close button in MDI? Pin
khan++3-Apr-06 0:14
khan++3-Apr-06 0:14 
GeneralRe: How to handle Close button in MDI? Pin
Nibu babu thomas3-Apr-06 0:16
Nibu babu thomas3-Apr-06 0:16 
GeneralRe: How to handle Close button in MDI? Pin
Sarvan AL3-Apr-06 0:26
Sarvan AL3-Apr-06 0:26 
GeneralRe: How to handle Close button in MDI? Pin
Nibu babu thomas3-Apr-06 0:39
Nibu babu thomas3-Apr-06 0:39 
GeneralRe: How to handle Close button in MDI? Pin
khan++3-Apr-06 0:41
khan++3-Apr-06 0:41 

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.