# Making a custom titlebar

**URL:** <https://discourse.glfw.org/t/making-a-custom-titlebar/2392>\
**Category:** support\
**Created:** [June 3, 2023, 6:47pm UTC](https://discourse.glfw.org/t/making-a-custom-titlebar/2392 "2023-06-03T18:47:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [June 3, 2023, 7:12pm UTC](https://discourse.glfw.org/t/making-a-custom-titlebar/2392/2 "2023-06-03T19:12:34Z")

</div>

There is a similar question I answered about this here:

> [@Support for undecorated resizeable window](https://discourse.glfw.org/t/support-for-undecorated-resizeable-window/2344/2):
>
> You can resize and move an undecorated window using glfwGetWindowSize and glfwSetWindowPos. These can be used alongside your own UI to provide drag and resizing. For an example of this see the [Dear ImGui Docking branch with viewports](https://github.com/ocornut/imgui/issues/2109). One problem with this is that you no longer receive OS resizing events such as the Windows WIN+LEFT for tiling the window on a part of the screen. I am not sure of the status of the linked issue, but it appears the fork mentioned no longer exists. A newer version…

So you do currently loose aero snap on Windows.

---

_[View the full topic](https://discourse.glfw.org/t/making-a-custom-titlebar/2392)._
