Closed hannesdelbeke closed 1 year ago
believe pyside6 does this automatically
set bar to black. note this freezes blender main window if run on it on startup. need to test with qt widgets
style = ctypes.windll.user32.GetWindowLongPtrW(process_windows[0].hwnd, -20)
new_style = style | 0x00080000 | 0x00000008
# ctypes.windll.user32.SetWindowLongPtrW(process_windows[0].hwnd, -20, new_style) # freezes main blender window, not needed for black bar
ctypes.windll.user32.SetLayeredWindowAttributes(process_windows[0].hwnd, 0, 0, 2)
print(process_windows[0].hwnd)
default blender window has a dark bar in latest blender version
qt default widgets don't
TODO add support to match blender's style