Futurebasic/Language/Reference/def shadowbox

Syntax

edit

DEF SHADOWBOX

Description

edit

This statement draws a box with a single-pixel drop shadow, and erases the interior of the box. The box is drawn just outside of the rectangle specified by rect (which should be an 8-byte variable such as a RECT type) or pointed to by rectAddr&. The box can be used as a border for text, pop-up menu items, and other things. The box is not automatically refreshed, unless you're using the "FB Lite" runtime. Otherwise; your program should explicitly re-draw it (call DEF SHADOWBOX again) when you receive an update event for the window. FB Lite behavior: When you use the "FB Lite" runtime, DEF SHADOWBOX switches to the Graphics Window before executing.

Example:

CD Example: DEF SHADOWBOX.BAS

See Also

edit

EDIT FIELD; DEF BOX; DEF SHOWPOP