Minimise Help

BlitzPlus Forums/BlitzPlus Programming/Minimise Help

to add minimize to the window:

; add minimize button 
Wlong = User32_GetWindowLong(hWND, -16)
Wlong = Wlong Or $20000
User32_SetWindowLong(hWND, -16, Wlong)



You need these commands in your 'user32.decls'

User32_SetWindowLong% (hwnd%, nIndex%, dwNewLong%) : "SetWindowLongA"
User32_GetWindowLong%(hwnd%, nIndex%): "GetWindowLongA"