Blaine
Blaine
I know, thats why I said I would look into said parent libs to see if its possible to implement said feature, i.e. scaling via the renderer programatically.
I have implemented maximize and minimize(cocoa pending), and also got drag-able window working on edge/mshtml. Currently I call drag_intent on mousedown event which moves the window according to the amount...
Well, winapi has nchhittest result that defines what section is what, and supports doing math on window size. I am unsure if its possible to maintain this capability cross platform.
The above problem is caused most likely because to achieve frameless window we are still using WS_OVERLAPPEDWINDOW. Instead we should use WS_POPUP, as demonstrated here https://github.com/melak47/BorderlessWindow/blob/master/BorderlessWindow/src/BorderlessWindow.cpp edit: This works! ```cpp...
I apologize, due to broken web technologies the editor is not fully functional yet, but as far as that white border is concerned, one is stuck with it in windows...
Can anyone look into https://github.com/melak47/BorderlessWindow ? I am learning cpp and winapi as I go, and this is a bit too confusing code for me. The frameless and border resize...
Manged to fix this by returning 0 in case when the window is frame-less ```cpp case WM_NCCALCSIZE: { if (window->is_borderless) { return 0; } else { return DefWindowProc(hwnd, msg, wparam,...
After a shit ton of research, I have to conclude that I have reached a dead end. I will most likely undergo the same "hack" I went through with my...
I am pretty sure we can add an additional flag to toggle moveable window. That way as long as mouse is over an area that requests drag, we can set...
You can take a look at webview-sys/webview_edge.cpp , that file contains two classes, a browser_window, that creates the window and the webview which creates a thread, and a process and...