SetDrawFocus method


Available for Button objects.

Prototype

SetDrawFocus Proto hWnd:HWND, bDefault:BOOL

Syntax

Invoke SetDrawFocus, hWnd, bDrawFocus

Function

Sets the DrawFocus property for an object.

Parameters

hWnd

Handle to the object.

bDrawFocus

A BOOL value specifying the new draw focus state for the object.

Return value

Eax/Rax returns TRUE if successful, or FALSE if not.