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

Menu turn black after a few days #244

Open
walterhwan opened this issue Nov 14, 2022 · 1 comment
Open

Menu turn black after a few days #244

walterhwan opened this issue Nov 14, 2022 · 1 comment

Comments

@walterhwan
Copy link

walterhwan commented Nov 14, 2022

Not sure if this is a known issue. The menu will consistently turn black after leaving it alone for a day or two. When I mouse over the black area it can show what's the normal menu item. I can still click on the menu items but it goes to black soon after.

Edit: The problem only appears on Windows 10/11

Screenshot 2022-11-12 073338

@walterhwan
Copy link
Author

I was able to track down the error to the SetIcon function. The error shows Unable to convert icon to bitmap: The operation completed successfully

I have a function where it will SetIcon of a menuItem every 5 seconds. And depend on a variable it will set to different icon. It all works fine changing icon initially. But if you let it sit for several hours it will show the above error. How is this possible??

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

1 participant