I'm using this script written(I'm told) by Marcus.
Code: Select all
// Hide the border of a non-MS window
GetWindowHandle>SomeWindowName,dhwnd
Let>WS_CAPTION=12582912
Let>WS_MINIMIZEBOX=131072
Let>WS_MAXIMIZEBOX=65536
Let>WS_SYSMENU=524288
Let>WS_THICKFRAME=262144
Let>WS_POPUP=2147483648
Let>WS_CHILD=1073741824
Let>style=WS_CHILD
LibFunc>user32,SetWindowLongA,sres,dhwnd,-16,style
//The window has to repaint in some manner so minimise and then restore
Let>WIN_USEHANDLE=1
//WindowAction>2,dhwnd
Wait>1
WindowAction>0,dhwnd
//Wait>5
//CloseWindow>dhwnd
Let>WIN_USEHANDLE=0
Thanks,
PepsiHog