Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WS_BORDER
#5
Code:
Copy      Help
int h=win("Notepad")
act h
RECT r; GetWindowRect(h &r)
int pst=SetWindowLong(h GWL_STYLE GetWindowLong(h GWL_STYLE)~(WS_BORDER|WS_DLGFRAME|WS_THICKFRAME))
MoveWindow(h r.left r.top r.right-r.left r.bottom-r.top-1 1)
3
SetWindowLong(h GWL_STYLE pst)
MoveWindow(h r.left r.top r.right-r.left r.bottom-r.top 1)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)