Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WS_BORDER
#1
Use SetWindowLong, then force window to repaint. Removing border also removes caption.

Code:
Copy      Help
int h=win("Notepad")
SetWindowLong(h GWL_STYLE GetWindowLong(h GWL_STYLE)~(WS_BORDER|WS_DLGFRAME|WS_THICKFRAME))
siz 200 200 h


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)