Disabling a button? - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: Disabling a button? (/showthread.php?tid=90130) Disabling a button? by ryxdp on 04-12-2009 at 06:53 AM
Well, I've looked around in the docs and it seems there is no property to enable/disable a button in a PlusWnd, but I thought it must be possible using SendControlMessage() or even Interop.Call(). I tried the former, using the message 0xA (WM_ENABLE) but it's apparently only for windows. So is there a way to disable and enable buttons in the interfaces? RE: Disabling a button? by davidpolitis on 04-12-2009 at 10:34 AM
quote: javascript code: RE: Disabling a button? by ryxdp on 04-12-2009 at 10:47 AM Thanks I had no idea those kinds of functions worked on controls as well. RE: Disabling a button? by Matti on 04-12-2009 at 01:44 PM
quote:Actually, what we call a control is nothing more than a child window in a parent window with some very special capabilities. This means you can also send window messages to a control and (if Plus! would support this) monitor control notifications. |