Modify ↓
Opened 16 years ago
Closed 16 years ago
#1701 closed Bug (No Bug)
Bug in date control
| Reported by: | Owned by: | ||
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.6.1 | Severity: | None |
| Keywords: | Cc: |
Description
When i need following code:
#include <GUIConstants.au3>
#include <WindowsConstants.au3>
#include <DateTimeConstants.au3>
$GUI = GUICreate("Test", 1024, 768, 0, -1, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
$AuswertEnde = GUICtrlCreateDate("2010/05/31", 391, 586, 100, 23, $DTS_UPDOWN)
GUICtrlSendMsg(-1, 0x1032, 0, "MM.yyyy")
While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
ExitLoop
EndSelect
WEnd
GUIDelete()
Exit
then i can not view any Months with less than 31 Days.
For example Februar, Juni etc.
Attachments (0)
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

If you want to see only month and year you cannot start with a day of a month greater than 28.
The GUICtrlSendMsg(-1, 0x1032, 0, "MM.yyyy") is modify the display if possible
The day = 31 seems to remain.
I am sure it is AutoIt reponsability on what is done by Window.
Perhaps you can Microsoft on the subject.