Introduction
Features
Command Reference
Tutorials
Examples

Colour Schemes
Extras

Online
 Command
SetWindowSnap( Value, Strength )

 Parameters
Value - Should be true to enable window snap, and false to disable it
Strength - The strength of the window snap in pixels

 Description
When this is enabled it allows windows that are near eachother to snap to any of the edges. It also snaps windows to the edge of the screen.

 Example
Graphics 640, 480, 16, 2
SetBuffer BackBuffer( )

Include "blitzui.bb"
Initialise( )
SetWindowSnap( True, 5 )

For A = 1 to 5
    Window( rand( 0, 500 ), rand( 0, 400 ), rand( 200, 300 ), rand( 100, 200 ), "Window" )
Next

Repeat
    UpdateGUI( )
    DrawMouse( )

    Flip
    Cls
Until KeyHit( 1 )
Destroy( )
End