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

IMAGECTX_LoadImage

Previous pageReturn to chapter overviewNext page

 

Description

 

Set control background color

 

Syntax

 

lretCode = IMAGECTX_LoadImage(hwnd, ctrlID, sPath)

 

Returns

 

Number.

Returns %S_OK if loading of the image was successful, otherwise an error code.

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier

sPath

String

No

Path to the image.

Path can be a local path (local computer or Lan) or a remote path (Web url)

 

Remarks

 

Restrictions

 

See also

 

Examples