知識點: Picture Control 控件屬性 CStatic類 圖片控件 圖片控件使用 一、圖片控件屬性 Picture Control 屬性: Type:Frame //框架 Type:Etched Horz水平蝕刻線條 Type:Etched Vert垂真蝕刻線條 Type:Rectangle實心矩形 Type:Bitmap位圖 Type:Icon 圖標 Type:Enhanced Metafile 增強圖元 支持wmf格式圖片 Type:Owner Draw 自繪圖 Color:顏色 Black:黑 Gray:灰色 White:白色 Etched:蝕刻 二、Picture Control 控件類 CStatic:: SetBitmap Specifies a bitmap to be displayed in the static control. GetBitmap Retrieves the handle of the bitmap previously set with SetBitmap. SetIcon Specifies an icon to be displayed in the static control. GetIcon Retrieves the handle of the icon previously set with SetIcon. SetCursor Specifies a cursor image to be displayed in the static control. GetCursor Retrieves the handle of the cursor image previously set with SetCursor. SetEnhMetaFile Specifies an enhanced metafile to be displayed in the static control. GetEnhMetaFile Retrieves the handle of the enhanced metafile previously set with SetEnhMetaFile