| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Displays a shadow around a rectangular area on the screen.
HB_Shadow( <nTop>, <nLeft>, <nBottom>, <nRight>, ;
[<nColorAttr>] ) --> NIL
The function HB_Shadow() displays a shadow around a rectangular area on the screen and returns always NIL.
| See also: | @...BOX, @...CLEAR, @...TO, HB_ClrArea(), Scroll(), SetColor() |
| Category: | Screen functions , xHarbour extensions |
| Source: | rtl\shadow.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
// The example demonstrates how to display a shadow around a box.
#include "Box.ch"
PROCEDURE Main
SET COLOR TO "W+/B"
CLS
DispBox( 10,10,20,50, B_DOUBLE + Space(1), "W+/R" )
HB_Shadow( 10,10,20,50 )
DispOut( "Shadowed box" )
RETURN
http://www.xHarbour.com