InetSendAttachBitmapCmd method (ILEADRasterInet)

Visual Basic Example

Visual C++ 5.0 Example

 

Syntax

short InetSendAttachBitmapCmd (long nCommandID, long nBitmapID, long nWindowID);

Overview

Refer to Sending Commands and Responses

Remarks

Sends an attach bitmap command to a remote computer.

The remote computer should respond by calling the InetSendAttachBitmapRsp method in its InetReceiveCmd event.

Once the remote computer receives this command it should always paint the specified bitmap inside the specified window. Both the bitmap and the window should exist on the remote computer. The remote computer will most likely paint the window at 1:1 ratio, adding scrollbars if possible. To change the way the bitmap is painted, call the InetSendSetRectCmd method.

The InetReceiveCmd event will receive the nBitmapID and nWindowID information in the Params parameter. The nBitmapID information will be in Params.ParamValue(0) and the nWindowID information will be in Params.ParamValue(1).

When a response is received from a remote computer, the InetReceiveRsp event is triggered.

See Also

Elements:

InetSendAttachBitmapRsp method, InetReceiveRsp event, InetReceiveCmd event

Topics:

Working with Internet Functionality: Command Messages

 

Client-Server Diagram: Sending Commands and Responses