Win_DrawFocusRect

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > Windows API >

Win_DrawFocusRect

 

Description

 

Draws a rectangle in the style used to indicate that the rectangle has the focus.

 

Syntax

 

n = Win_DrawFocusRect(hDC, lpRect)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

hDC

Number

No

A handle to the device context

lpRect

UDT

No

A RECT structure that specifies the logical coordinates of the rectangle..

 

Remarks

 

Because DrawFocusRect is an XOR function, calling it a second time with the same rectangle removes the rectangle from the screen.

For additional info, please refer to MS documentation at: http://msdn.microsoft.com/en-us/library/windows/desktop/dd162479(v=vs.85).aspx

 

Restrictions

 

See also

 

Examples