REDRAWFRAME

Top  Previous  Next

Syntax

REDRAWFRAME(win as WINDOW,OPT id=0 as INT)

Description

Redraws the border, caption and non-client areas of a window, dialog or control.

Parameters

win - WINDOW or DIALOG.

id - Optional control ID.

Return value

None

Remarks

If id is specified then the frame of a control is changed whose parent is the window or dialog specified. Used after modifying the style of a window, dialog or control.

See Also: MODIFYSTYLE, MODIFYEXSTYLE.

Example usage

' Remove the 3D border from an edit control
CONST WS_EX_CLIENTEDGE = 0x200
MODIFYEXSTYLE mywin, 0, WS_EX_CLIENTEDGE, 2
REDRAWFRAME mywin, 2