To use a CBitmap object, construct the object, attach a bitmap handle to it with one of the initialization member functions, and then call the object’s member functions. 【要使用CBitmap对象,请构造该对象,使用一个初始化成员函数为其附加位图句柄,然后调用该对象的成员函数。】
Initializes the object with a bitmap with the width, height, and bit pattern (if one is specified) given in a BITMAP structure. 【使用位图初始化对象,位图的宽度、高度和位模式(如果指定)在位图结构中给定。】
Initializes the object by loading a named bitmap resource from the application’s executable file and attaching the bitmap to the object. 【通过从应用程序的可执行文件加载命名位图资源并将位图附加到对象来初始化对象。】
Returns the width and height of the bitmap. The height and width are assumed to have been set previously by the SetBitmapDimension member function. 【返回位图的宽度和高度。假定高度和宽度先前已由SetBitmapDimension成员函数设置。】
CBitmap 类Base Class Members(基类成员)Construction(构造)Initialization(初始化)Attributes(属性)Operations(操作)心得体会To use a CBitmap object, construct the object, attach a bitmap handle to it with one of the initialization member functions, and then call the object’s mem