Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to "roll up" a window
#2
Resize the window. No other ways exist.

set drivelabel and win rollup

Macro
Code:
Copy      Help
def CCHILDREN_TITLEBAR 5
type TITLEBARINFO cbSize RECT'rcTitleBar rgstate[CCHILDREN_TITLEBAR+1]
dll user32 #GetTitleBarInfo hwnd TITLEBARINFO*pti

int h=win("Quick Macros")
RECT r; GetWindowRect h &r ;;save

TITLEBARINFO ti.cbSize=sizeof(TITLEBARINFO)
GetTitleBarInfo h &ti
siz 0 ti.rcTitleBar.bottom-ti.rcTitleBar.top h 1

5
siz 0 r.bottom-r.top h 1 ;;restore


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)