zoukankan      html  css  js  c++  java
  • 常见的消息按钮映射


                                      消息*返回值*总结

    int nChoice=AfxMessageBox("Overwrite existing file?",MB_YESNOCANCEL|MB_ICONQUESTION);

    if(nChoice==IDYES){ //Overwrite file }

    消息类型                             包含在对话框中的按钮

    MB_ABORTRETRYIGNORE   Abort,Retry,and Ignore

    MB_OK                             OK

    MB_OKCANCEL                 OK and Cancel

    MB_RETRYCANCEL            Retry and Cancel

    MB_YESNO                       Yes and NO

    MB_YESNOCANCEL           Yes,NO,and Cancle

    消息框的返回值说明了用户选择了那一个按钮。表列出了用户可能的选择和返回值。

    返回值                             选中的按钮

    IDABORT                        Abort

    IDCANCEL                      Cancel

    IDIGNORE                      Ignore

    IDNO                             No

    IDOK                             OK

    IDRETRY                       Retry

    IDYES                           Yes  

  • 相关阅读:
    docker删除常见命令
    测试网中用户添加docker yum源
    kafka 重新分配partition
    docker-compose常用命令
    docker 常用命令
    docker-compose部署ELK
    ELK全Dokcer 部署
    Harbor修改/data目录位置
    单机多es容器服务部署的网络模式
    C++使用模板类时出现LNK2019 unresolved external symbol错误.
  • 原文地址:https://www.cnblogs.com/fengbo/p/2624929.html
Copyright © 2011-2022 走看看