Pathcou - TrackPopupMenuEx |
Author: |
Message: |
TazDevil
Full Member
sleep(0);
Posts: 359 Reputation: 11
41 / /
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 |
|
|
absorbation
Elite Member
Posts: 3636 Reputation: 81
– / /
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 |
|
|
Dempsey
Scripting Contest Winner
http://AdamDempsey.net
Posts: 2395 Reputation: 53
38 / /
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
|
|
06-11-2005 03:25 PM |
|
|
Stigmata
Veteran Member
Posts: 3520 Reputation: 45
21 / /
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 thanks
|
|
06-11-2005 03:33 PM |
|
|
Dempsey
Scripting Contest Winner
http://AdamDempsey.net
Posts: 2395 Reputation: 53
38 / /
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
|
|
06-11-2005 03:34 PM |
|
|
TazDevil
Full Member
sleep(0);
Posts: 359 Reputation: 11
41 / /
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
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 |
|
|
Dempsey
Scripting Contest Winner
http://AdamDempsey.net
Posts: 2395 Reputation: 53
38 / /
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?
|
|
06-11-2005 04:03 PM |
|
|
TazDevil
Full Member
sleep(0);
Posts: 359 Reputation: 11
41 / /
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
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 |
|
|
Dempsey
Scripting Contest Winner
http://AdamDempsey.net
Posts: 2395 Reputation: 53
38 / /
Joined: Jul 2003
|
RE: Pathcou - TrackPopupMenuEx
ah right yea, so atm you can add the menu but not get the callback from it
|
|
06-11-2005 04:19 PM |
|
|
TazDevil
Full Member
sleep(0);
Posts: 359 Reputation: 11
41 / /
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 |
|
|
Pages: (3):
« First
[ 1 ]
2
3
»
Last »
|
|