ClipWindow

Description:

baClipWindow removes the edges from a window.

Platforms:

Windows

Usage:

baClipWindow( WindowHandle, Left, Top, Right, Bottom, Border, Remove )

Arguments:

Integer, integer, integer, integer, integer, integer, integer.
WindowHandle is the handle of the window to change
Left is the amount of the window to remove from the left edge
Top is the amount of the window to remove from the top edge
Right is the amount of the window to remove from the right edge
Bottom is the amount of the window to remove from the bottom edge
If Border is true, then the window border is removed first
If Remove is true, then the window is clipped; if false then any previous clipping is removed and the window is restored to it's normal state.

Returns:

Void.

Examples:

Director:
baClipWindow( 2459 , 10 , 20 , 10 , 10 , true, true )

Authorware:
baClipWindow( 2459 , 10 , 20 , 10 , 10 , true, true )
 

Notes:

If you specify to remove the border first, then the window's menu bar and borders are removed first, then the window is clipped by the amount specified