# how to block the resizeWindow when user click on game border

**URL:** <https://forums.unrealengine.com/t/how-to-block-the-resizewindow-when-user-click-on-game-border/358261>\
**Category:** Platform & Builds\
**Tags:** window, drag, border, block, resize, unreal-engine, question\
**Created:** [May 23, 2016, 3:39am UTC](https://forums.unrealengine.com/t/how-to-block-the-resizewindow-when-user-click-on-game-border/358261 "2016-05-23T03:39:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Genma01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Genma01](https://forums.unrealengine.com/u/Genma01)\
**Post date:** [May 23, 2016, 3:39am UTC](https://forums.unrealengine.com/t/how-to-block-the-resizewindow-when-user-click-on-game-border/358261/1 "2016-05-23T03:39:18Z")

</div>

Hello everyone.

I wanted to know how to block the fact that the user can resize the game Window when he click on the borders of this window.

The dragging Resize method, i want to disable it, in BP, or maybe just value in .ini?

Could you help me?

thank you.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3221808d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3221808d](https://forums.unrealengine.com/u/anonymous_user_3221808d)\
**Post date:** [May 23, 2016, 9:48pm UTC](https://forums.unrealengine.com/t/how-to-block-the-resizewindow-when-user-click-on-game-border/358261/2 "2016-05-23T21:48:12Z")

</div>

Found this post where someone does the opposite, maybe it helps figure out the proper direction:

> **[Resizable game window](https://forums.unrealengine.com/questions/387995/resizable-game-window.html)**
>
> I was tasked to make the game window resizable. After exploring engine code, i realized that is not easy to set WS\_THICKFRAME for game window style property. Can we in the future be able to make game window resizable through config or function call?...

Snippet:

> WindowsWindow.cpp (after 124 line) function FWindowsWindow::Initialize

`if (Definition->HasSizingFrame) { WindowStyle |= WS_THICKFRAME; }`

I am guessing the types refer to:

> **[Window Styles (Winuser.h) - Win32 apps](https://learn.microsoft.com/en-us/windows/win32/winmsg/window-styles?redirectedfrom=MSDN)**
>
> The following are the window styles. After the window has been created, these styles cannot be modified, except as noted.

---

<div class="post-metadata">

**Author:** ![Genma01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Genma01](https://forums.unrealengine.com/u/Genma01)\
**Post date:** [May 27, 2016, 1:52pm UTC](https://forums.unrealengine.com/t/how-to-block-the-resizewindow-when-user-click-on-game-border/358261/3 "2016-05-27T13:52:34Z")

</div>

thank you, but for now, i didnt solve it.  
Still investigating
