zoukankan      html  css  js  c++  java
  • mfc Picture Control 控件属性

    知识点:
     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
  • 相关阅读:
    [Leetcode]设计链表
    [Leetcode]最小栈
    复杂JSON反序列化为类对象
    Big Data Solution in Azure: Azure Data Lake
    EF vs ADO.NET
    EF5.0默认不支持DB First了?
    WebService/WCF/WebAPI区别
    AugularJS1.X不升级到2.X
    数据库中锁的问题
    MVC中路由匹配的规则
  • 原文地址:https://www.cnblogs.com/whzym111/p/6225301.html
Copyright © 2011-2022 走看看