BBjSysGui::resOpen

Description

Opens a resource file and returns a resource handle.

Syntax

Return Value

Method

int

resOpen(string filename)

Parameters

Variable

Description

filename

Specifies the name of the file containing a resource.

Return Value

Returns a handle to the resource that has been opened.

Remarks

This method is equivalent to RESOPEN(filename).

Example

let SYSGUI=UNT; OPEN (SYSGUI)"X0"
BBj!=BBJAPI()
Sysgui!=BBj!.getSysGui()

let RESOURCE$="createWindow.ARC"
let RESOURCE_ID=101

let RESOURCE=sysGui!.resOpen(RESOURCE$)
myWindow! = Sysgui!.createTopLevelWindow(RESOURCE,RESOURCE_ID)

escape

See Also

BBjAPI

BBjWindow

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.