Tip: How to maximize a window

Share your advanced PureBasic knowledge/code with the community.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Tip: How to maximize a window

Post by BackupUser »

Code updated for 5.20+ (same as SetWindowState())

Restored from previous forum. Originally posted by PB.

To maximize a window on the Desktop, use this short code:

Code: Select all

ShowWindow_(WindowID(window),#SW_MAXIMIZE)