Sign in to follow this  
Followers 0
Ontosy

"AM" "PM" GUICtrlSendMsg

8 posts in this topic

I not see "AM" "PM" in the $iStartTime field.

$iStartTime = GUICtrlCreateDate("00:00", 189, 145, 75, 20, 9); $DTS_TIMEFORMAT = 9

GUICtrlSendMsg($iStartTime, 0x1032, 0, "hh:mm tt");$DTM_SETFORMATW = 0x1032why?

Share this post


Link to post
Share on other sites



Look at example #3 in the help file for GUICtrlCreateDate for the proper way to set this.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Look at example #3 in the help file for GUICtrlCreateDate for the proper way to set this.

Also in this example if i modify:

$style = "HH:mm tt"

GUICtrlSendMsg($date, $DTM_SETFORMAT_, 0, $style)

i not see AM and PM

Share this post


Link to post
Share on other sites

Probably because your local computer has 24hr clock.

ie change your calendar time settings long to "hh:mm:ss tt"

Al if i change my calendar time settings long in SO to "hh:mm:ss tt" i again not see AM and PM.

Share this post


Link to post
Share on other sites

Have you tried _GUICtrlDTP_SetFormat() ?

Maybe try out the example code for that command in the helpfile and see what happens...

Share this post


Link to post
Share on other sites

Yes i tried full code in example.

I think it's a problem on my XP but I do not know what.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0