SetDIB method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax short SetDIB (OLE_HANDLE hDIB);

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 Imgages with Other Objects