Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: allow adding image/icon to menu items #24

Open
ghost opened this issue Mar 8, 2021 · 0 comments
Open

feature: allow adding image/icon to menu items #24

ghost opened this issue Mar 8, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 8, 2021

I see that space is reserved to the left of the text, which is currently used for the selected/checked image. In other languages, tools, this space can also be used for an icon image to make the menu item stand out for common actions (New, Open,Save, Print, etc.). In those tools, when such an icon is used, checked state is represented not with a check icon, but with some sort of highlighting. This would allow users to quickly identify common and standard functions at a glance.

For example, Visual Studio WinForms adds a background-highlighting around the image. GAMBAS (BASIC) does the same. So does Lazarus (FreePascal). NetBeans (Java, w/ Swing) seems to highlight the entire menu-item by reversing the foreground (not as impressed with that as with the others, where the highlighting looks almost like a button was pressed, even on the menu-items without an icon).

Note: I have run across the documentation for AfxAddIconToMenuItem, and I will be looking into it, but it would be nice to be able to do this at design-time like the buttons. UPDATE: Having looked at that, I'll wait and see if this feature is likely to become available.--SJS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants