Navigation:  thinBasic Modules > UI_ImageCTX >

UI_IMAGECTX_SetImageAdjustment

Previous pageReturn to chapter overviewNext page

 

Description

 

Sets how image is adjusted inside te control

 

Syntax

 

lPrevAdj = UI_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:

%UI_IMAGECTX_AUTOSIZE

%UI_IMAGECTX_ACTUALSIZE

%UI_IMAGECTX_FITTOWIDTH

%UI_IMAGECTX_FITTOHEIGHT

%UI_IMAGECTX_STRETCH

ForceRedraw

Number

Yes

If %TRUE a redraw command will be forced.

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com