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:
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: [Question] Enable/disable controls
WM_ENABLE is a notification: it's sent by the system after something has happened. It doesn't actually control anything. It also doesn't help you got the third and fourth parameters wrong. The third should be 0 for disabled, nonzero for enabled. The fourth is ignored, and should be 0.

fatfreechicken's code is actually a good workaround. To be honest, Patchou should have included an EnableControl() in the scripting engine: it's a common enough task.

Note: Different window messages have different WPARAM and LPARAM uses. Use MSDN to check for each message.
[Image: spartaafk.png]
07-07-2006 10:20 PM
Profile 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