What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Question] Enable/disable controls

[Question] Enable/disable controls
Author: Message:
cooldude_i06
Full Member
***

Avatar
I'm so cool I worry myself.

Posts: 272
Reputation: 9
– / Male / –
Joined: Sep 2003
RE: [Question] Enable/disable controls
quote:
Originally posted by fatfreechicken
H
At the moment I'm using the following code to enable a button:
code:
        var btnReplyWnd;
        btnReplyWnd = wndResp.GetControlHandle("BtnReply"); //get the buttons handle
        Interop.Call("User32","EnableWindow", btnReplyWnd, 1); //enable button
(change the 1 to 0 to disable)


Yes, I use this method as well and it does work on all controls.
[Image: clb2.jpg]
07-07-2006 10:29 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Question] Enable/disable controls - by OcuS on 07-07-2006 at 09:58 PM
RE: [Question] Enable/disable controls - by pollolibredegrasa on 07-07-2006 at 10:08 PM
RE: [Question] Enable/disable controls - by OcuS on 07-07-2006 at 10:17 PM
RE: [Question] Enable/disable controls - by RaceProUK on 07-07-2006 at 10:20 PM
RE: RE: [Question] Enable/disable controls - by mathieumg on 07-08-2006 at 05:48 AM
RE: [Question] Enable/disable controls - by cooldude_i06 on 07-07-2006 at 10:29 PM
RE: RE: RE: [Question] Enable/disable controls - by CookieRevised on 07-08-2006 at 03:03 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