AustrianOak Posted July 23, 2008 Posted July 23, 2008 How do I create my own right click menu on the taskbar like other taskbar items. Since I am using XSkin I cannot right click on the taskbar item so I would like to make my own for it.
Bert Posted July 23, 2008 Posted July 23, 2008 GUICtrlCreateContextMenu The Vollatran project My blog: http://www.vollysinterestingshit.com/
AustrianOak Posted July 23, 2008 Author Posted July 23, 2008 Yes but what controlID do i give it? I know its not the window id because that will just set a context menu for the "actual window", not the windows taskbar item
Bert Posted July 23, 2008 Posted July 23, 2008 From the helpfile:After creating the context menu main control with this function, each menu item can be created by using GUICtrlCreateMenuItem.Sub-menus can be created using GUICtrlCreateMenu.Just do $id = GUICtrlCreateMenuItem. Use $id to point to it. The Vollatran project My blog: http://www.vollysinterestingshit.com/
AustrianOak Posted July 23, 2008 Author Posted July 23, 2008 (edited) You must have mis-understoodd me. I was wondering what control should I point it to. If I did: GUICtrlCreateContextMenu($MyWindowHandle) It would create a context menu ON the window itself. I want the context menu created on the taskbar item that the window owns. Edited July 28, 2008 by nowagain
AustrianOak Posted July 28, 2008 Author Posted July 28, 2008 I still haven't found an answer to this one. Need help.
Gigglestick Posted July 29, 2008 Posted July 29, 2008 (edited) Do you mean the icon in the system tray (by the clock)? If so, try TrayMenuMode, TrayCreateMenu, and TrayCreateItem. Edited July 29, 2008 by c0deWorm My UDFs: ExitCodes
Minikori Posted July 29, 2008 Posted July 29, 2008 no, i mean the taksbar items..What do you mean by taskbar then? For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com
Xand3r Posted July 29, 2008 Posted July 29, 2008 (edited) he means the start bar... you know between the start button and the clock... P.S.:i've got no ideea how you cand modify that menu Edited July 29, 2008 by TheMadman Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro
Minikori Posted July 29, 2008 Posted July 29, 2008 that would be the tray then, so the tray stuff codeworm said For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com
AustrianOak Posted July 29, 2008 Author Posted July 29, 2008 Well I know it's possible as when you skin a window the default context menu that pops up when you right click on a taskbar item is gone. And I've seen skinned programs have their custom menu.
7h331337 Posted July 29, 2008 Posted July 29, 2008 i am sure that in order to mess with the start button menu u half to mes abt with regedit
AustrianOak Posted July 29, 2008 Author Posted July 29, 2008 that would be the tray then, so the tray stuff codeworm saidNo, it's not called the tray. What you saw as the Yahoo messenger context menu in TheMadman's screenshot is called a taskbar item. The item is located in the taskbar, not the tray.
Gigglestick Posted July 29, 2008 Posted July 29, 2008 I'm not aware of any built-in functions to deal with that menu. You'll probably have to use some obscure DllCall() or something. My UDFs: ExitCodes
AustrianOak Posted August 6, 2008 Author Posted August 6, 2008 Bump. I still don't have a clue as to where to start.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now