MULTIBOXING COMMANDS

ShowWin

Sets what Microsoft calls the “show state” of a DAOC window.

Syntax

ShowWin ( mode )

Parameters

Mode can be one of the following:

Hide makes the window invisible. (Equivalent to Microsoft’s SW_HIDE.)

Maximize expands the window to the full screen. (Equivalent to Microsoft’s SW_MAXIMIZE.)

Minimize shrinks the window to a taskbar button. (Equivalent to Microsoft’s SW_MINIMIZE.)

Restore returns a minimized or maximized window to its “regular” size. (Equivalent to Microsoft’s SW_RESTORE.)

Show displays and activates a window.. (Equivalent to Microsoft’s SW_SHOW.)

Example

Hotkey ( ScrollLockOn Shift K )
{
   Package
   {
      Sendto ( local_background )	  
      ShowWin ( hide )
   }
   
   Package
   {
      Sendto ( local_foreground )
      ShowWin ( show )
   }
}

Remarks

This command calls the operating system’s ShowWindow function.

This page was first published on November 3, 2017 and last modified on November 3, 2017