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

AppBar overlay on Windows #17

Open
eljeffeg opened this issue Sep 13, 2010 · 6 comments
Open

AppBar overlay on Windows #17

eljeffeg opened this issue Sep 13, 2010 · 6 comments

Comments

@eljeffeg
Copy link

I have an issue where most of my machines are running an AppBar.
http://support.microsoft.com/kb/134206

Sometimes this causes an issue as it tries to breakthrough, making buttons and stuff under the AppBar unresponsive. Is there any way to "turn off" such app bars at startup and turn them back on after, just as we do with the Apple menu?

Thanks! Jeff

@eljeffeg
Copy link
Author

This might also be helpful
http://msdn.microsoft.com/en-us/library/bb762108%28VS.85%29.aspx

@eljeffeg
Copy link
Author

When a full-screen application is started or when the last full-screen application is closed, an appbar receives the ABN_FULLSCREENAPP notification message. The lParam parameter indicates whether the full-screen application is opening or closing. If it is opening, the appbar must drop to the bottom of the z-order. The appbar should restore its z-order position when the last full-screen application has closed.

http://msdn.microsoft.com/en-us/library/bb787965.aspx

@kritzikratzi
Copy link
Owner

hm... not certain,
maybe we could iterate over all open windows, figure out the highest z-index and just assign a higher value to our window.
but i have practically zero experience coding with windows gui toolkits. have you ever done something like this before?

@eljeffeg
Copy link
Author

From what I've read, we need to set the ABN_FULLSCREENAPP notification to TRUE when we go fullscreen, then set it to FALSE, when we come out. ABN_FULLSCREENAPP is a function of the Windows UI shell. So I'm thinking it may need to be another JNI that calls the Windows "Shell32".

@eljeffeg
Copy link
Author

According to this.. I'm not sure if we have to tell it or if Windows is suppose to know.
https://www.microsoft.com/msj/archive/s274.aspx

Was a change made to remove 1 row of pixels for that framerate issue?

The ABN_FULLSCREENAPP notification is sent when a fullscreen application window is opened or closed. A window is fullscreen when its client area occupies the entire screen. Always-on-top appbars should take themselves out of the topmost z-order so that they do not cover the fullscreen window.

I'm not sure if that means it's automatic or if it has to be issued.

@kritzikratzi
Copy link
Owner

the one pixel thing: yes, but that should only occur on windows.
ABN_FULLSCREENAPP sounds great. i've never used shell32, but shouldn't be too hard :)

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

2 participants