@mr Handy
#constant GWL_STYLE -16
#constant WS_THICKFRAME_ENABLE 0x00040000
#constant WS_THICKFRAME_DISABLE 0xFFFBFFFF
#constant WS_MAXIMIZEBOX_ENABLE 0x00010000
#constant WS_MAXIMIZEBOX_DISABLE 0xFFFEFFFF
#constant SWP_UPDATEFRAME 0x00000027
Load Dll "user32.dll",1
HWND=Call Dll(1,"FindWindowA","Dark Basic Pro Project12345","Dark Basic Pro Project") `put your project name here
`Sizeable off
WindowStyle=Call Dll(1,"GetWindowLongA",HWND,GWL_STYLE)&&WS_THICKFRAME_DISABLE
Result=Call Dll(1,"SetWindowLongA",HWND,GWL_STYLE,WindowStyle)
Result=Call Dll(1,"SetWindowPos",HWND,HWND,0,0,0,0,SWP_UPDATEFRAME)
`Sizeable on
WindowStyle=Call Dll(1,"GetWindowLongA",HWND,GWL_STYLE)||WS_THICKFRAME_ENABLE
Result=Call Dll(1,"SetWindowLongA",HWND,GWL_STYLE,WindowStyle)
Result=Call Dll(1,"SetWindowPos",HWND,HWND,0,0,0,0,SWP_UPDATEFRAME)
`Maximize button off
WindowStyle=Call Dll(1,"GetWindowLongA",HWND,GWL_STYLE)&&WS_MAXIMIZEBOX_DISABLE
Result=Call Dll(1,"SetWindowLongA",HWND,GWL_STYLE,WindowStyle)
Result=Call Dll(1,"SetWindowPos",HWND,HWND,0,0,0,0,SWP_UPDATEFRAME)
`Maximize button on
WindowStyle=Call Dll(1,"GetWindowLongA",HWND,GWL_STYLE)||WS_MAXIMIZEBOX_ENABLE
Result=Call Dll(1,"SetWindowLongA",HWND,GWL_STYLE,WindowStyle)
Result=Call Dll(1,"SetWindowPos",HWND,HWND,0,0,0,0,SWP_UPDATEFRAME)
Delete Dll 1
Print "All information about user32.dll you can find here: msdn.microsoft.com"
DO:LOOP
you can use SetWindowLongW for Unicode or SetWindowLongA as default function also don't forget about SetWindowPos