What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Pathcou - TrackPopupMenuEx

Pages: (3): « First [ 1 ] 2 3 » Last »
Pathcou - TrackPopupMenuEx
Author: Message:
TazDevil
Full Member
***

Avatar
sleep(0);

Posts: 359
Reputation: 11
41 / Male / Flag
Joined: May 2004
O.P. Pathcou - TrackPopupMenuEx
patchou,
why i cant hook on the API TrackPopupMenuEx in order to get the menu handle of the system tray APIS32 says (!think!) that the value is returned to MsgPlusH.dll

This post was edited on 06-11-2005 at 03:27 PM by TazDevil.
Window Manager is discontinued, for WLM try the new,
Enhancer for contact list docking, auto-hide, hide taskbar button, remove button flashing and remember keyboard layout in conversation windows
06-11-2005 02:33 PM
Profile PM Web Find Quote Report
absorbation
Elite Member
*****

Avatar

Posts: 3636
Reputation: 81
– / Male / Flag
Joined: Feb 2005
RE: Pathcou - TrackPopupMenuEx
Try e-mailing patchou personally as he is not active and he repleys more to e-mails ;)
06-11-2005 03:12 PM
Profile PM Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: Pathcou - TrackPopupMenuEx
do you mean the menu handle of the context menu of the contact list?    If so I've spoken to Patchou about it before and I can't rememeber what he said, I'll see if I've still got the email
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
06-11-2005 03:25 PM
Profile E-Mail PM Web Find Quote Report
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
21 / Other / Flag
Joined: Jul 2003
RE: Pathcou - TrackPopupMenuEx
yeh, ive spoken to patch about this before, he recommended using TrackPopupMenuEx, but as i was unable to do so, i did try subclassing the WM_INITMENUPOPUP msg, but i was unable to gain the handle of the popup...


if you make a break through taz, please contact me and tell me how you did it :D :) thanks :)
06-11-2005 03:33 PM
Profile PM Web Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: Pathcou - TrackPopupMenuEx
quote:
Originally posted by Stigmata
i did try subclassing the WM_INITMENUPOPUP msg, but i was unable to gain the handle of the popup...
yea he said MSN doesnt send a WM_CONTEXT message
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
06-11-2005 03:34 PM
Profile E-Mail PM Web Find Quote Report
TazDevil
Full Member
***

Avatar
sleep(0);

Posts: 359
Reputation: 11
41 / Male / Flag
Joined: May 2004
O.P. RE: Pathcou - TrackPopupMenuEx
I am always talking about the system tray menu

i am not tryign to hook or subclass on the proc to get the menu handle because the way TrackPopupMenuEx is called it does not notify the wnd about WM_INITMENU etc..etc...

so the only way to het the menu handle is to hook on the actuall API to get the input arguments to the API, BUT i cannot hook on the TrackPopupMenuEx API, which is the BEST way. (that is what i am talking about MsgPlusH.dll that stops the hooking procedure)

instead i am hooking on the LoadMenuA API to get the result of the API to get the menu which is successful...

see the picture

.jpg File Attachment: menu.JPG (21.75 KB)
This file has been downloaded 252 time(s).

This post was edited on 06-11-2005 at 03:45 PM by TazDevil.
Window Manager is discontinued, for WLM try the new,
Enhancer for contact list docking, auto-hide, hide taskbar button, remove button flashing and remember keyboard layout in conversation windows
06-11-2005 03:41 PM
Profile PM Web Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: Pathcou - TrackPopupMenuEx
so if you are already sucessfully doing it it an alternate way, why do you want to hook the tracppopupmenu call?
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
06-11-2005 04:03 PM
Profile E-Mail PM Web Find Quote Report
TazDevil
Full Member
***

Avatar
sleep(0);

Posts: 359
Reputation: 11
41 / Male / Flag
Joined: May 2004
O.P. RE: Pathcou - TrackPopupMenuEx
because it is most appropriate !!! to do it there
and plus prevents me for no actuall reason...

anyway if i did it there i could also get the menucommand once the menu was selected... the result of TrackP...

now i am using a detour that is not quite reliable
Hope it answered your q :D

This post was edited on 06-11-2005 at 04:08 PM by TazDevil.
Window Manager is discontinued, for WLM try the new,
Enhancer for contact list docking, auto-hide, hide taskbar button, remove button flashing and remember keyboard layout in conversation windows
06-11-2005 04:07 PM
Profile PM Web Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: Pathcou - TrackPopupMenuEx
ah right yea, so atm you can add the menu but not get the callback from it
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
06-11-2005 04:19 PM
Profile E-Mail PM Web Find Quote Report
TazDevil
Full Member
***

Avatar
sleep(0);

Posts: 359
Reputation: 11
41 / Male / Flag
Joined: May 2004
O.P. RE: Pathcou - TrackPopupMenuEx
no i get the callback, the menu is working.
but i get the menu command using WM_LBUTTONUP which is not very reliable
Window Manager is discontinued, for WLM try the new,
Enhancer for contact list docking, auto-hide, hide taskbar button, remove button flashing and remember keyboard layout in conversation windows
06-11-2005 04:27 PM
Profile PM Web Find Quote Report
Pages: (3): « First [ 1 ] 2 3 » Last »
« Next Oldest Return to Top Next Newest »


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