What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] Setting the format of a DateTimeControl

[?] Setting the format of a DateTimeControl
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
O.P. Huh?  [?] Setting the format of a DateTimeControl
Hey there! :)

I'm having trouble once again. :P
I'm currently trying to change the format of a DateTimeControl using the DTM_SETFORMAT message like this:
code:
var DTM_SETFORMAT = 0x1032;
Wnd.SendControlMessage('DatCDDate', DTM_SETFORMAT, 0, Language.WndSettings['DateFormat']);
where:
  • Wnd is the PlusWnd object containing the control
  • DatCDDate is the name of the DateTimeControl
  • Language.WndSettings['DateFormat'] is a string containing the new format (e.g.: "dd'/'MM'/'yyyy")
And the problem? It doesn't work. :dodgy:

Information about this message can be found on this MSDN page.

S.O.S.! :D
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
09-09-2006 06:56 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] Setting the format of a DateTimeControl - by Matti on 09-09-2006 at 06:56 PM
RE: [?] Setting the format of a DateTimeControl - by Eljay on 09-09-2006 at 07:37 PM
RE: [?] Setting the format of a DateTimeControl - by Matti on 09-10-2006 at 07:16 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On