IMAGECTX_SetImageAdjustment

<< Click to Display Table of Contents >>

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

IMAGECTX_SetImageAdjustment

 

Description

 

Sets how image is adjusted inside te control

 

Syntax

 

lPrevAdj = IMAGECTX_SetImageAdjustment(hwnd, ctrlID, lAdjust [, ForceRedraw])

 

Returns

 

Number.

Returns the previous adjust setting.

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier

lAdjust

Number

No

Adjustment setting. Use one of the following equates:

%IMAGECTX_AUTOSIZE

%IMAGECTX_ACTUALSIZE

%IMAGECTX_FITTOWIDTH

%IMAGECTX_FITTOHEIGHT

%IMAGECTX_STRETCH

ForceRedraw

Number

Yes

If %TRUE a redraw command will be forced.

 

Remarks

 

Restrictions

 

See also

 

Examples