The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: mumin16 on June 02, 2009, 09:18:51 AM

Title: is DatePickercontrol initialize as NULL? or later?
Post by: mumin16 on June 02, 2009, 09:18:51 AM
is DatePickercontrol initialize as NULL? or later?
Title: Re: is DatePickercontrol initialize as NULL? or later?
Post by: MichaelW on June 02, 2009, 09:52:25 AM
I'm guessing that you tried to create a date picker control and it didn't work. A date picker is one of the common controls, and to use it you must first initialize the common control window classes by calling InitCommonControls or InitCommonControlsEx. InitCommonControls is actually obsolete, but I have never seen it fail. If you choose to use InitCommonControlsEx, the class you need to load is ICC_DATE_CLASSES.
Title: Re: is DatePickercontrol initialize as NULL? or later?
Post by: mumin16 on June 02, 2009, 10:06:34 AM
i want empty of datepicker's content. i want not what it show the date of today.
Title: Re: is DatePickercontrol initialize as NULL? or later?
Post by: MichaelW on June 02, 2009, 10:28:25 AM
http://msdn.microsoft.com/en-us/library/bb761782(VS.85).aspx
Title: Re: is DatePickercontrol initialize as NULL? or later?
Post by: mumin16 on June 03, 2009, 12:19:22 PM
i create datepicker control with checkbox style but i don't obtain what it's status of checked in this time.