81
Post New Requests Here / Re: IDEA: drag window to edge automatically resizes it
« on: November 12, 2007, 08:31 AM »Actually.. To be honest, i don't quite know how to retreive the information about the window being resizable or not :(You could try basing it on the window's style.
Maybe someone could give me a hand?-jgpaiva (November 12, 2007, 04:57 AM)
WinGet winStyle, Style, A
if (winStyle & 0x40000) { ;0x40000 = WS_SIZEBOX = WS_THICKFRAME
;code to resize
}
I'm not sure if that'll work for all windows or even if you need to take into account the minimize and maximize/restore buttons as well.
if (winStyle & 0x40000) { ;0x40000 = WS_SIZEBOX = WS_THICKFRAME
;code to resize
}