Jump to content

Disable ability to resize window


gadelat
 Share

Go to solution Solved by DW1,

Recommended Posts

  • Solution

I would suggest modifying the windows style with _WinAPI_SetWindowLong()

#include <WinAPI.au3>
#include <Constants.au3>
#include <WindowsConstants.au3>
$hWnd = WinGetHandle("Untitled - Notepad")
_WinAPI_SetWindowLong($hWnd, $GWL_STYLE, BitXOR(_WinAPI_GetWindowLong($hWnd, $GWL_STYLE), $WS_SIZEBOX))
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...