What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Disabling a button?

Disabling a button?
Author: Message:
davidpolitis
Full Member
***


Posts: 371
Reputation: 16
Joined: Aug 2006
RE: Disabling a button?
quote:
Originally posted by ryxdp
So is there a way to disable and enable buttons in the interfaces?
javascript code:
var ControlHandle = PlusWnd.GetControlHandle("TestBttn");
Interop.Call("User32", "EnableWindow", ControlHandle, 0 /* Change to 1 to enable */);

This post was edited on 04-12-2009 at 10:49 AM by davidpolitis.
04-12-2009 10:34 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Disabling a button? - by ryxdp on 04-12-2009 at 06:53 AM
RE: Disabling a button? - by davidpolitis on 04-12-2009 at 10:34 AM
RE: Disabling a button? - by ryxdp on 04-12-2009 at 10:47 AM
RE: Disabling a button? - by Matti on 04-12-2009 at 01:44 PM


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