XPButton_SetImageSize

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UIAdv (Advanced User Interface module) > XPBUTTON Control >

XPButton_SetImageSize

 

Description

 

Sets the size of the image.

 

Syntax

 

lretCode = XPButton_SetImageSize(hwnd, ctrlID, nWidth, nHeight [, Redraw])

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier

nWidth

Number

No

Width of the image, in pixels

nHeight

Number

No

Height of the image, in pixels

Redraw

Number

Yes

%TRUE or %FALSE to force a redraw of the control

 

Remarks

 

Restrictions

 

See also

 

Examples