SetDIB method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int SetDIB (L_HGLOBAL hDIBData);

Delphi Syntax

SetDIB (hDIBData: L_HGLOBAL): Integer;

Overview

Refer to Copying and Creating Bitmaps.

Remarks

Makes a copy of a device independent bitmap (DIB) and assigns the copy to the Main Control.

Ordinarily, you would need a DIB only if you are using Windows API functions. Nevertheless, for simplicity, the examples in this documentation get and set a DIB without using the API.

See Also

Elements:

GetDIB method, GetDDB method, SetDDB method

Topics:

Raster Images: Exchanging Images with Other Objects