hDib  Property

Description     Specifies a handle to the device independent bitmap. Not available at design time.

Usage                  [form.] BiDisp.hDib = [DIB]

Remarks             The hDib property contains the bitmap, palette, dimension and color depth  information of an image.

                            If a BiDisp control owns an image created by other application or another part of the same program and this image is deleted, your application will crash or generate an error message. This problem occurs if the control is destroyed or the contents of hDib property is changed and another application or control uses this image.

                            If you want to copy an image of a control to another, use the following instruction:

                                    BlackIce2.hDib = Duplicate(BlackIce1.hDib)

Data Type          LONGLONG

Available            ¨Design-Time      þRun-Time Read      þRun-Time Write

See Also              Picture Property