[?] how do i disable a button on interface window? - 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: [?] how do i disable a button on interface window? (/showthread.php?tid=70823) [?] how do i disable a button on interface window? by roflmao456 on 01-18-2007 at 10:25 PM question above. thx RE: [?] how do i disable a button on interface window? by matty on 01-18-2007 at 10:32 PM Use the EnableWindow api. RE: [?] how do i disable a button on interface window? by roflmao456 on 01-18-2007 at 10:34 PM
quote:i can find that in the scripting doc? RE: [?] how do i disable a button on interface window? by matty on 01-18-2007 at 10:36 PM http://msdn.microsoft.com/../enablewindow.asp RE: [?] how do i disable a button on interface window? by roflmao456 on 01-18-2007 at 11:09 PM
code:lol.. is my code right? code: RE: [?] how do i disable a button on interface window? by Dennis Mike on 01-18-2007 at 11:38 PM Interop.Call("user32","EnableWindow", PlusWnd.GetControlHandle("ControlId"), 0) use the windows32 API for disable control in the interface. 0 for disable and 1 for eneable |