Hi, I’m trying to make a specific style of window on Windows using GLFW3. I want a window that has no border and is immovable (I plan on making a custom titlebar with ImGui to replace this functionality) yet is still resizable via the Win32 api.
So far I can make:
- A window with no border and is immovable but it’s not resizable.
LONG newStyle = WS_SIZEBOX | WS_DLGFRAME | WS_BORDER | WS_VISIBLE;
- A window that can be resized, is unable to be moved but has an ugly white border at the top of the window
LONG newStyle = WS_SIZEBOX | WS_VISIBLE;
Currently I create the GLFW window, extract the window handle and then update the style to get as close as I can now. But I can’t seem to find any method to get the last couple criteria fixed.
Does anyone know how you add either resizing functionailty to a glfw window, or remove the white border from the top of the window
White border mentioned