FullDrag (Query/Change Window Drag Setting)

Top  Previous  Next

 

FULLDRAG( < setdragflag > )

FULLDRAG

Query and/or change the full window drag settings

setdragflag

A BYTE variable or constant. TRUE (1) or FALSE (0)

 

FULLDRAG returns the current window drag setting. If the optional setdragflag is set to TRUE (1), full window dragging is enabled. If the optional setdragflag is set to FALSE (0), full window dragging is disabled and only the window frame will appear when dragging a window.

To add support for this utility to your existing applications, you need only include the CWUTIL.INC file in the Global Map section of your program:

INCLUDE('CWUTIL.INC'),ONCE

Return Data Type:     LONG

Example:

IF NOT FULLDRAG()              !If full window dragging is OFF

 FULLDRAG(1)                  !Enable it

END