Skip to content

Hide music lounge when taskbar or screen is fullscreen#3544

Open
dogukannparlak wants to merge 2 commits intoramensoftware:mainfrom
dogukannparlak:main
Open

Hide music lounge when taskbar or screen is fullscreen#3544
dogukannparlak wants to merge 2 commits intoramensoftware:mainfrom
dogukannparlak:main

Conversation

@dogukannparlak
Copy link

Summary Hides the Music Lounge panel when the taskbar is not visible or when a fullscreen window is in the foreground, so the widget does not stay on top of games or fullscreen apps. Changes Taskbar visibility: Panel is shown only when the taskbar is visible (IsWindowVisible). Taskbar size: If the taskbar is collapsed (e.g. auto-hide, height/width < 10px), the panel is hidden. Fullscreen detection: If the foreground window covers the monitor (within 10px), the panel is hidden. Show/hide: ShowWindow(SW_HIDE) when conditions above are not met; ShowWindow(SW_SHOWNOACTIVATE) when the taskbar is visible and no fullscreen window is active. Version: 3.0 → 3.1

Hide music lounge when taskbar or screen is fullscreen

- Add taskbar visibility and size checks before positioning the widget
- Detect fullscreen foreground windows and hide the panel while active
- Toggle the widget visibility via ShowWindow based on these conditions
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

Successfully merging this pull request may close these issues.

1 participant