Cbitmap members
Visual Studio 2005Other versions 4 out of 10 rated this helpful-rate this topic
Base Class Members
Cobject members
Cgdiobject members
Construction
Cbitmap |
ConstructsCbitmapObject. |
Initialization
Createbitmap |
Initializes the object with a device-dependent memory bitmap that has a specified width, height, and bit pattern. |
Createbitmapindirect |
Initializes the object with a bitmap with the width, height, and bit pattern (if one is specified) given inBitmapStructure. |
Createcompatiblebitmap |
Initializes the object with a bitmap so that it is compatible with a specified device. |
Creatediscardablebitmap |
Initializes the object with a discardable bitmap that is compatible with a specified device. |
Loadbitmap |
Initializes the object by loading a named bitmap resource from the application's executable file and attaching the bitmap to the object. |
Loadmappedbitmap |
Loads a bitmap and maps colors to current system colors. |
Loadoembitmap |
Initializes the object by loading a predefined Windows bitmap and attaching the bitmap to the object. |
Attributes
Getbitmap |
FillsBitmapStructure with information about the bitmap. |
Operator hbitmap |
Returns the Windows handle attached toCbitmapObject. |
Operations
Fromhandle |
Returns a pointer toCbitmapObject when given a handle to a WindowsHbitmapBitmap. |
Getbitmapbits |
Copies the bits of the specified bitmap into the specified buffer. |
Getbitmapdimension |
Returns the width and height of the bitmap. The height and width are assumed to have been set previusly by the setbitmapdimension member function. |
Setbitmapbits |
Sets the bits of a bitmap to the specified bit values. |
Setbitmapdimension |
Assigns a width and height to a bitmap in 0.1-millimeter units. |