News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Using DateTimePicker Control in windows 2000

Started by DavidJohn, December 21, 2007, 02:03:12 PM

Previous topic - Next topic

DavidJohn

Why i can't use masm32 apps having DateTimePicker control in windows 2000. I have win2k with sp4. Is it due to the fact that its a new control created after win2k is released if yes is there any way to overcome this problem...

DavidJohn

MichaelW

According to the PSDK, Date and time picker controls were implemented in version 4.70 and later of Comctl32.dll. This version was initially distributed with IE 3.0, and Windows 2000 should have at least version 5.81. So you should be able to use the control, just not any features that were added in later versions.
eschew obfuscation

hutch--

David,

In the example code in the masm32 project, have a look at the example by Bill Cravener called "Calender". It shows how to use a date time picker and it works on my win2000 fine.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

DavidJohn

Ya its was due to problem of INITCOMMONCONTROLSEX. Thanks Hutch, MichaelW for the infos. Its remainder for me, you still need to write codes even after you drag n drop controls from IDE.

Also Which is the windows who doesn't support this control.

David

MichaelW

The Date time picker control should be supported on Windows 98 First Edition and later, and on Windows 95 or NT 4.0 with IE 3.0 or later.

http://msdn2.microsoft.com/en-us/library/bb776779.aspx


eschew obfuscation