Navigation:  thinBasic Modules > UI_ImageCTX >

UI_IMAGECTX_GetImageWidth

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the width of the image present in the control

 

Syntax

 

lWidth = UI_IMAGECTX_GetImageWidth(hwnd, ctrlID)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier

 

Remarks

 

Return value is in pixels.

 

Restrictions

 

See also

 

Examples

 

 

 

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