What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Solved] DateTime

[Solved] DateTime
Author: Message:
go2hell
New Member
*

Avatar

Posts: 13
Joined: Jul 2006
O.P. Huh?  [Solved] DateTime
I have a problem in setting the value of an DateTimeControl from within the script. Any idea if it is possible?

i'm doing:   
code:
//example date
var date = "14-07-2006";

newWnd.SetControlText("DateValue", date);


where the date format is same as the custom format i specified in the xml: dd-MM-yyyy.

Thanks for your help

---------- first part solved, the bug remains :P ---------------

(Also i believe there is a bug with hidden controls because if I change their value they get visible again, and i couldn't find a way to set the control visible attribute to false again)

This post was edited on 07-14-2006 at 07:02 PM by go2hell.
07-14-2006 06:43 PM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [HELP] DateTime
Eljay's reply to DateTimeControl

quote:
Originally posted by go2hell
(Also i believe there is a bug with hidden controls because if I change their value they get visible again, and i couldn't find a way to set the control visible attribute to false again)
You can use the Windows API 8-)

code:
var SW_HIDE = 5;
var SW_SHOW = 0;

Interop.Call('user32', 'ShowWindow', PlusWnd.GetControlHandle('MyControlId'), SW_SHOW);
07-14-2006 06:59 PM
Profile E-Mail PM Find Quote Report
go2hell
New Member
*

Avatar

Posts: 13
Joined: Jul 2006
O.P. RE: [Solved] DateTime
Thank you, I'll try that.
07-14-2006 10:03 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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