What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Global Window-handler possible?

Global Window-handler possible?
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
35 / Male / Flag
Joined: Jan 2006
RE: Global Window-handler possible?
OnWindowEvent_CtrlClicked is for Plus! windows that you have created using MsgPlus.CreateWnd.

You'll have to get the handle for the chat window and use a windows DLL to detect when a control is clicked in a chat window however. (May I ask why you need this anyway?).

Furthermore, you have REALLY complicated things with chat windows.  You can itterate through them using Messenger.CurrentChats which will save on memmory and be easier for everyone to understand (and more straightforward for yourelf as well).

You can also get the handle of a window with a contact that is currently open already by using Messenger.OpenChat.

I highly recomend that you look at other scripts.  I find your code unnecessarily complicated.  I guess you have a programming background, but it really isn't nicely presented.  Because there are many people who make a script and never come back, it would be nice if you keep it nice and simple so that we can take a look at the code later and help people when they have problems.

I hope this helps, and if you have further questions about the scripting engine then don't be afraid to ask.
[Image: markee.png]
06-03-2008 10:56 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Global Window-handler possible? - by RdeWilde on 06-03-2008 at 10:20 AM
RE: Global Window-handler possible? - by markee on 06-03-2008 at 10:56 AM
RE: Global Window-handler possible? - by RdeWilde on 06-03-2008 at 11:23 AM
RE: Global Window-handler possible? - by markee on 06-03-2008 at 12:42 PM
RE: Global Window-handler possible? - by RdeWilde on 06-03-2008 at 02:28 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