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:
pollolibredegrasa
Full Member
***

Avatar
formerly fatfreechicken

Posts: 483
Reputation: 34
35 / Male / Flag
Joined: May 2005
RE: [Question] Enable/disable controls
Hi,

I also wondered about this.

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)

Don't know if this is the correct way of doing it but it seems to work for me

This post was edited on 07-07-2006 at 10:13 PM by pollolibredegrasa.
;p

[Image: chickennana.gif] Vaccy is my thin twin! [Image: chickennana.gif]
07-07-2006 10:08 PM
Profile PM 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