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

IMAGECTX_GetImageWidth

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the width of the image present in the control

 

Syntax

 

lWidth = 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