What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » A few questions.

A few questions.
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: A few questions.
yes, ok, that is if you create the menu starting from your own (a Plus!) window. Aka you have a way to know when and where to display it. But how do you detect a right mouse click on the chat window without subclassing the chat window? AFAIK, you can't...

You hav 2 possebilities as far as I can see atm:

1) or you start from your own window. Then you can indeed detect clicked menu items because the menu belongs to your own subclassed window.
(is what you're saying)

But then you'r stuck because you have no (decent) way to know where and when to show the menu with TrackPopupMenu in the first place, as you can't detect mouse clicks (in a decent not-polling way) on another window because its window messages are send to that other window.

2) or you alter the menu from the chat window itself to include your custom menu items too (very easy to do). But then you're stuck once again because you can't detect it when the user selects the items. Again because you can't subclass that window and detect your custom menu IDs.
(is what I've quickly 'tested' before)

-------

On the other hand I might be missing something obvious here though....

This post was edited on 05-04-2010 at 06:25 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
05-04-2010 05:05 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
A few questions. - by Emblem on 05-02-2010 at 03:29 AM
RE: A few questions. - by Matti on 05-02-2010 at 08:33 AM
RE: A few questions. - by CookieRevised on 05-03-2010 at 11:00 AM
RE: RE: A few questions. - by Matti on 05-03-2010 at 04:02 PM
RE: A few questions. - by CookieRevised on 05-04-2010 at 05:05 PM
RE: A few questions. - by Matti on 05-04-2010 at 06:15 PM
RE: A few questions. - by CookieRevised on 05-04-2010 at 06:32 PM
RE: A few questions. - by Eljay on 05-04-2010 at 06:51 PM
RE: A few questions. - by CookieRevised on 05-04-2010 at 07:01 PM
RE: A few questions. - by Eljay on 05-04-2010 at 07:47 PM
RE: A few questions. - by CookieRevised on 05-04-2010 at 08:03 PM
RE: RE: A few questions. - by TheSteve on 05-05-2010 at 07:29 AM
RE: A few questions. - by Eljay on 05-04-2010 at 10:14 PM
RE: A few questions. - by CookieRevised on 05-04-2010 at 11:27 PM
RE: A few questions. - by Eljay on 05-05-2010 at 08:41 AM
RE: A few questions. - by Mnjul on 05-05-2010 at 08:50 AM
RE: A few questions. - by CookieRevised on 05-06-2010 at 01:04 AM
RE: A few questions. - by Mnjul on 05-06-2010 at 06:49 AM
RE: A few questions. - by Eljay on 05-06-2010 at 07:25 AM
RE: A few questions. - by Emblem on 05-17-2010 at 05:07 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