BBGadTools
BBClearWindow(X,Y,Width,Height)
Description:
This Command Clears any Area in your Window.
Parameter:
X = X-Position.
Y = Y-Position.
Width = Width of the Area to Clear.
Height = Height of the Area to Clear.
Attention! - GadgetDatas will not Remove.
This Command Clears only the GFX in Defined Area.
Please read in addition to it also BBFreeGadList()
Example:
BBScreenMode(2) ; Opening a Screen in 800x600
BBScreenBar("MyTitleName")
BBOpenWindow(80,80,400,200,"MyWindow")
BBClearWindow(0,0,BBWinWidth(),BBWinHeight()) ; Clear Complete Window!
Repeat
BBShowMouse() ; Shows MousePointer!
BBWindowMove() ; Checks for WindowMovement!
Until KeyDown(1) ; Wait for [ESC]!
Include "C:\BBGadTools.bb"
Back to the Menu