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

C / C++ / MFC

 
QuestionWhat's the difference between C++ and MC++ ? Pin
WREY18-May-05 3:43
WREY18-May-05 3:43 
AnswerRe: What's the difference between C++ and MC++ ? Pin
toxcct18-May-05 3:56
toxcct18-May-05 3:56 
AnswerRe: What's the difference between C++ and MC++ ? Pin
Sebastian Schneider18-May-05 3:59
Sebastian Schneider18-May-05 3:59 
GeneralRe: What's the difference between C++ and MC++ ? Pin
toxcct18-May-05 4:08
toxcct18-May-05 4:08 
AnswerRe: What's the difference between C++ and MC++ ? Pin
Nemanja Trifunovic18-May-05 4:38
Nemanja Trifunovic18-May-05 4:38 
GeneralRe: What's the difference between C++ and MC++ ? Pin
WREY18-May-05 4:57
WREY18-May-05 4:57 
GeneralRe: What's the difference between C++ and MC++ ? Pin
David Crow18-May-05 8:37
David Crow18-May-05 8:37 
GeneralMFC CDateTimeCtrl and week numbers Pin
LucanFahr18-May-05 3:33
LucanFahr18-May-05 3:33 
Hello all,

I currently have an application with a class derived from CDateTimeCtrl that is being used as a picker on a dialog. Now I would like to display week numbers in the CDateTimeCtrl that pops up when you click it. I have an override on OnDropdown and I can fetch the CDateTimeCtrl using GetMonthCalCtrl. However, I can't figure out how to set the week numbers.
As far as I can see, the week numbers must be set with MCS_WEEKNUMBERS in CDateTimeCtrl::Create. I think CDateTimeCtrl::Create is already called when I call GetMonthCalCtrl in OnDropdown... Is there no other way to set the MCS_WEEKNUMBERS? Or how else should I do this?

Thanks,
- Fahr
GeneralRe: MFC CDateTimeCtrl and week numbers Pin
David Crow18-May-05 4:27
David Crow18-May-05 4:27 
GeneralRe: MFC CDateTimeCtrl and week numbers Pin
LucanFahr24-May-05 21:41
LucanFahr24-May-05 21:41 
Questionhelp: why a control created in VC can not work well in vb? Pin
ictory18-May-05 3:19
ictory18-May-05 3:19 
AnswerRe: help: why a control created in VC can not work well in vb? Pin
toxcct18-May-05 3:25
toxcct18-May-05 3:25 
GeneralRe: C++ Pin
David Crow18-May-05 2:08
David Crow18-May-05 2:08 
GeneralRe: C++ Pin
Anonymous18-May-05 3:29
Anonymous18-May-05 3:29 
GeneralI ve done the project for you! Pin
Anonymous18-May-05 3:31
Anonymous18-May-05 3:31 
GeneralRe: C++ Pin
Anonymous18-May-05 3:36
Anonymous18-May-05 3:36 
GeneralRe: C++ Pin
Anonymous18-May-05 3:37
Anonymous18-May-05 3:37 
GeneralRe: C++ Pin
Anonymous18-May-05 3:37
Anonymous18-May-05 3:37 
GeneralRe: C++ Pin
Anonymous18-May-05 3:37
Anonymous18-May-05 3:37 
GeneralRe: C++ Pin
Anonymous18-May-05 3:38
Anonymous18-May-05 3:38 
GeneralRe: C++ Pin
Anonymous18-May-05 4:19
Anonymous18-May-05 4:19 
GeneralRe: C++ Pin
Anonymous18-May-05 4:19
Anonymous18-May-05 4:19 
GeneralRe: C++ Pin
Anonymous18-May-05 3:50
Anonymous18-May-05 3:50 
GeneralRe: C++ Pin
Anonymous18-May-05 3:50
Anonymous18-May-05 3:50 
GeneralRe: C++ Pin
Anonymous18-May-05 3:30
Anonymous18-May-05 3:30 

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.