SetDDB method (Main Control)
Builder Syntax |
|
Delphi Syntax |
SetDDB (hDevice: L_HDC; hBit: HBitmap; hPal: HPalette): Integer; |
Overview |
Refer to Copying and Creating Bitmaps. |
Remarks
Makes a copy of a device-dependent bitmap (DDB) and assigns the copy to the Main Control.
For the hPal parameter, you can use the GetBitmapPalette method to get the palette handle.
Ordinarily, you would need a DDB only if you are using Windows API functions. Nevertheless, for simplicity, the examples in this documentation get and set a DDB without using the API.
See Also
Elements: |
|
Topics: |