SetWindowState Command (DDE)

Microsoft Query

Show All Show All

SetWindowState Command (DDE)

Specifies whether the active window is normal, minimized, or maximized when opened. This command is available on both the system channel and the query channel.

Syntax

SetWindowState(state)

state The state of the active window. Can be one of the following values.

Value Description
1 Normal
2 Minimized (Microsoft Windows only)
3 Maximized