Win32 remove Titlebar but keep Decorations (Border, Shadow, Rounded Corners)
I'm trying to create a Windows Application via the Windows Api (Win32). I want to remove the Windows Titlebar, but keep other Decorations (Border, Shadow, Rounded Corners). I have tried quite a few combinations of window styles, but cant get it to work.
[https://learn.microsoft.com/en-us/windows/win32/winmsg/window-styles
[https://learn.microsoft.com/en-us/windows/win32/winmsg/extended-window-styles
I also tried DwmExtendFrameIntoClientArea, but it made no difference.
This should be possible, because I can do it with a framework like Tauri ([https://tauri.app/). (by disabling decorations and using the window-border plugin). And Tauri is also just calling the Win32 Api in the background.
Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Other
2 answers
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more