-
Notifications
You must be signed in to change notification settings - Fork 205
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
Support system menu when clicking on top left corner of frameless window on Windows #24
Comments
@jiakuan I believe you can show these system menu using shortcut "Alt+Space". But I‘m not sure how to add the same support using mouse right click. |
Hi there!
I think the OP was talking about the menu displayed when we left click the top left corner. |
Howdy All. Here is my findings on this one. As a simple example of using this could be
This is a simple Case and does not support the MenuControls such as 'Close' or other functions. Fixing this bug should be a simple fix but requires more editing of the already implamented functions. i.e.
with this we can now check to see if the cursor is 'm_bInBorder'.
Now all that is needed is to connect the Functions of the Menu.. It looks like I was able to find a Solution for the SysMenu buttons too, after a bit of digging.
From here you can simply close the Widget Window itself. More info can be found via: I hope this helps anyone that comes across this :) |
@jiakuan |
So glad to see this project solving the problem of customising window title bar using native ways for both macOS and Windows! And, from a Chinese friend :) 这个项目太棒了!
I had a quick test on Windows and found all worked well except one feature seemed missing. When we click the top left corner of a standard application window, it normally shows a system menu like this:
And this:
As shown above, Adobe Illustrator for Windows uses a custom window title bar and has the system menu.
Just wondering if it's possible to add the same support in this project?
The text was updated successfully, but these errors were encountered: