EVERYTHING_MENUBAR Window Messages
-
donotbugme
- Posts: 43
- Joined: Mon Oct 16, 2017 10:33 am
EVERYTHING_MENUBAR Window Messages
Just as I can send messages to SysListView32 to get item data, how can I also send messages to EVERYTHING_MENUBAR to find out which menu is currently selected (File, Edit, View, Search, Index, History, Bookmarks, Tools, Help)?
Re: EVERYTHING_MENUBAR Window Messages
The EVERYTHING_MENUBAR doesn't try to emulate the standard menu control at all.
You'll need to use the stock menubar.
I will consider support for emulating the stock menu bar.
Thank you for the suggestion.
-It would be nice to have screen readers work with the custom Everything menubar.
I'm not sure how you would even do this with the stock menubar control. (maybe EVENT_SYSTEM_MENUSTART ?)
What are you trying to do?
You'll need to use the stock menubar.
I will consider support for emulating the stock menu bar.
Thank you for the suggestion.
-It would be nice to have screen readers work with the custom Everything menubar.
I'm not sure how you would even do this with the stock menubar control. (maybe EVENT_SYSTEM_MENUSTART ?)
What are you trying to do?
-
donotbugme
- Posts: 43
- Joined: Mon Oct 16, 2017 10:33 am
Re: EVERYTHING_MENUBAR Window Messages
I'm trying to integrate "NileSoft Shell" with Everything, and some features are working well—like context menus and selected files. I'm also able to handle window focus and WindowFromPoint to gather information about where context menus originate. However, I'm struggling with menu bar options. To be completely honest, I probably won't ever use keyboard shortcuts to select dropdowns, but it's bothering me that I can't get this working.
It's mostly by AI, brute force, trial and error, Because I'm mostly write Python for myself.
It's mostly by AI, brute force, trial and error, Because I'm mostly write Python for myself.
Re: EVERYTHING_MENUBAR Window Messages
Sorry I should have said how to use the stock menu bar..
To use the stock menu bar:
In Everything, from the View menu, under the Theme submenu, check Standard.
-If you are still seeing the EVERYTHING_MENUBAR menu, ensure the following:
There's no custom accent color for the menubar under Tools -> Options -> Fonts and colors.
There's no custom foreground color for the menubar under Tools -> Options -> Fonts and colors.
There's no custom background color for the menubar under Tools -> Options -> Fonts and colors.
There's no custom font style for the menubar under Tools -> Options -> Fonts and colors.
There's no custom font for the menubar under Tools -> Options -> Fonts and colors.
There's no custom font size for the menubar under Tools -> Options -> Fonts and colors.
Does NileSoft Shell work with the stock menubar?
To use the stock menu bar:
In Everything, from the View menu, under the Theme submenu, check Standard.
-If you are still seeing the EVERYTHING_MENUBAR menu, ensure the following:
There's no custom accent color for the menubar under Tools -> Options -> Fonts and colors.
There's no custom foreground color for the menubar under Tools -> Options -> Fonts and colors.
There's no custom background color for the menubar under Tools -> Options -> Fonts and colors.
There's no custom font style for the menubar under Tools -> Options -> Fonts and colors.
There's no custom font for the menubar under Tools -> Options -> Fonts and colors.
There's no custom font size for the menubar under Tools -> Options -> Fonts and colors.
Does NileSoft Shell work with the stock menubar?
-
donotbugme
- Posts: 43
- Joined: Mon Oct 16, 2017 10:33 am
Re: EVERYTHING_MENUBAR Window Messages
No it doesn’t. It works by hooking TrackPopupMenu and the like.
Re: EVERYTHING_MENUBAR Window Messages
Does NileSoft Shell work with the menu in something like regedit?
-Im just wondering if Everything is doing something weird.
-Im just wondering if Everything is doing something weird.
-
donotbugme
- Posts: 43
- Joined: Mon Oct 16, 2017 10:33 am
Re: EVERYTHING_MENUBAR Window Messages
I'm sorry if I wasn't clear. All context menus get overridden by NileSoft Shell, and it works as intended. If I use an offset on the menu bar to determine where I clicked, I can identify which button initiated the menu. However, when using keyboard navigation, I have no way of knowing which menu button triggered the context menu.
But if I downgrade Everything to use the stock menu bar, only the stock menu appears.
And it also doesn't work in RegEdit, at least on Windows 10.
Even if I drag WinSpy over the stock menu bar in Everything or the one in RegEdit, they're displayed with the same class as the parent window.
But if I downgrade Everything to use the stock menu bar, only the stock menu appears.
And it also doesn't work in RegEdit, at least on Windows 10.
Even if I drag WinSpy over the stock menu bar in Everything or the one in RegEdit, they're displayed with the same class as the parent window.