I have searched the XOJO documentation, examples, and the forum, and I cannot find how to control what menu pops up when the user right clicks the Windows taskbar icon. I see how TrayItem manages icons in the System Tray, but I cannot find how to manage icons in the Windows taskbar.
I’d appreciate any pointers.
Thanks in advance,
Insert a class name it MyTrayItem, set its super to trayitem and implement the events.
Then create a property for trayitem somewhere on an object and initate using
MyTray = New MyTrayItem
[quote]Insert a class name it MyTrayItem, set its super to trayitem and implement the events.
Then create a property for trayitem somewhere on an object and initate using MyTray = New MyTrayItem[/quote]
Derk - That is for the Windows Tray, I believe. I am looking how to control the menu on the right click of the Windows Taskbar.
ahh sorry you meant the taskbar icon (probably the windows functionallity suite -WFS- has what you need or MBS plugins).
has some information about this.
As far as I can see here under Windows 10, the taskbar icon right click menu is the same for all running applications.
Michel - Now that I go back and look at it, I think you’re right. I noticed they were in fact different, but I now realize the difference lies only in the list of files the user recently used in that app, which is Windows generated.
Sorry to all for the wild goose chase.
[quote=442030:@Sascha S]I can’t agree:
when i right-click on Outlook, i can create new Appointments, Mails, …
on Chrome is see New Window, new Incongnito Window, recent…[/quote]
So the question is, are those right-click taskbar menus controlled by Windows (fixed at app open time) or are they dynamically changeable by the app?
They MUST be reachable via Code. Leaving it to the System alone would be crazy and not even macOS would be smart enough to do so joking
I think those are called Jump Lists and an introduction to creating your own via code is explained here: https://channel9.msdn.com/coding4fun/articles/Windows-7-Jump-Lists
yeah I see that so I nuked my comment
Sascha - Thank you for that.
The referenced article summarizes jumplists quite well - I didn’t know that’s what the taskbar popup menu items were called. It does seem like quite an effort to access jumplists without the feature built into Xojo - I think that is beyond my Windows programming knowledge.