Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » How to set the empty in the CExtDatetime control? Collapse All
Subject Author Date
Gunasekaran Velu Dec 20, 2006 - 3:42 AM



hi folks

i set the date when i run my application. i want to reset or empty the datetime control when i click the button.

Suhai Gyorgy Dec 20, 2006 - 5:00 AM

When a CExtDateTimeWnd control already has a date set, you can use the following code to empty the control:

pDateTimeWnd->SetStatus(CExtDurationWnd::null);

Technical Support Dec 20, 2006 - 9:29 AM

You could also try the SetBlank() method, which allows you to make all the fields blank.