Modify

Opened 14 years ago

Closed 14 years ago

#1701 closed Bug (No Bug)

Bug in date control

Reported by: card0384@… 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 Changed 14 years ago by Jpm

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.


comment:2 Changed 14 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.