Click here to Skip to main content
15,927,212 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Save a CString ??? Pin
PJ Arends3-Jul-04 8:02
professionalPJ Arends3-Jul-04 8:02 
GeneralRe: Save a CString ??? Pin
Graham Bradshaw3-Jul-04 13:03
Graham Bradshaw3-Jul-04 13:03 
Generalinvisible window with activex control Pin
maruku3-Jul-04 1:58
maruku3-Jul-04 1:58 
GeneralRe: invisible window with activex control Pin
Ryan Binns4-Jul-04 18:39
Ryan Binns4-Jul-04 18:39 
GeneralRe: invisible window with activex control Pin
maruku5-Jul-04 22:46
maruku5-Jul-04 22:46 
GeneralRe: invisible window with activex control Pin
Ryan Binns5-Jul-04 22:58
Ryan Binns5-Jul-04 22:58 
GeneralCDateTimeCtrl init Pin
JabraJabra3-Jul-04 0:48
JabraJabra3-Jul-04 0:48 
GeneralRe: CDateTimeCtrl init Pin
Gary R. Wheeler3-Jul-04 2:38
Gary R. Wheeler3-Jul-04 2:38 
That depends on what you mean by 'initialize it to null'.

If you want to initialize the control, do it in the OnInitDialog() handler of your dialog class. You can use CDateTimeCtrl member functions like SetFormat and SetTime to set the format and content of the control, respectively.

If you want to hide the control, and then show it later, you can also do that in the OnInitDialog() handler. Just call the control's member function ShowWindow(SW_HIDE) to hide the control, and then ShowWindow(SW_SHOW) to show it.


Software Zen: delete this;
GeneralRe: CDateTimeCtrl init Pin
JabraJabra5-Jul-04 5:52
JabraJabra5-Jul-04 5:52 
Questionhow can i make setup of my application Pin
Anonymous2-Jul-04 23:30
Anonymous2-Jul-04 23:30 
AnswerRe: how can i make setup of my application Pin
eugi3-Jul-04 0:14
eugi3-Jul-04 0:14 
AnswerRe: how can i make setup of my application Pin
Brad Bruce3-Jul-04 2:34
Brad Bruce3-Jul-04 2:34 
Generalapp design question Pin
JabraJabra2-Jul-04 22:12
JabraJabra2-Jul-04 22:12 
GeneralRe: app design question Pin
Johan Rosengren2-Jul-04 23:40
Johan Rosengren2-Jul-04 23:40 
GeneralAdding TextToSpeech control to Dialog Editor Pin
Still learning how to code2-Jul-04 21:58
Still learning how to code2-Jul-04 21:58 
GeneralLast Boot Time Pin
Renjith Ramachandran2-Jul-04 19:34
Renjith Ramachandran2-Jul-04 19:34 
GeneralRe: Last Boot Time Pin
parths2-Jul-04 19:40
parths2-Jul-04 19:40 
GeneralRe: Last Boot Time Pin
Renjith Ramachandran2-Jul-04 21:30
Renjith Ramachandran2-Jul-04 21:30 
GeneralRe: Last Boot Time Pin
Graham Bradshaw3-Jul-04 2:54
Graham Bradshaw3-Jul-04 2:54 
GeneralCString to const char* conversion Pin
sugumar2-Jul-04 19:14
sugumar2-Jul-04 19:14 
GeneralRe: CString to const char* conversion Pin
Ken Mazaika2-Jul-04 19:19
Ken Mazaika2-Jul-04 19:19 
GeneralRe: CString to const char* conversion Pin
sugumar2-Jul-04 19:27
sugumar2-Jul-04 19:27 
GeneralRe: CString to const char* conversion Pin
PJ Arends2-Jul-04 19:38
professionalPJ Arends2-Jul-04 19:38 
GeneralRe: CString to const char* conversion Pin
sugumar2-Jul-04 19:48
sugumar2-Jul-04 19:48 
GeneralRe: CString to const char* conversion Pin
Johan Rosengren2-Jul-04 20:56
Johan Rosengren2-Jul-04 20:56 

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.