• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 3  文章 - 3  trackbacks - 0
            <2025年8月>
            272829303112
            3456789
            10111213141516
            17181920212223
            24252627282930
            31123456

            常用鏈接

            留言簿(1)

            隨筆分類

            隨筆檔案

            相冊

            News

            Program

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

                     When you implement a modeless dialog box, always override the OnCancel member function and call DestroyWindow from within   it. Don’t call the base class CDialog::OnCancel, because it calls EndDialog, which will make the dialog box invisible but will not destroy it. 
                     You should also override PostNcDestroy for modeless dialog boxes in order to delete this, since modeless dialog boxes are usually allocated with new. Modal dialog boxes are usually constructed on the frame and do not need PostNcDestroy cleanup.
            posted on 2008-04-14 10:19 陳振輝 閱讀(930) 評論(3)  編輯 收藏 引用 所屬分類: MFC

            FeedBack:
            # re: Destroy modeless dialog box 2008-08-10 23:28 企業即時通訊
            說什么來了?我怎么銷毀呢?New 了之后?。  回復  更多評論
              
            # re: Destroy modeless dialog box 2008-08-10 23:32 企業即時通訊
            看第二遍終于明白了。  回復  更多評論
              
            # re: Destroy modeless dialog box[未登錄] 2011-08-11 11:06 eric
            DestroyWindow invalidates the window handle to the dialog box, so any subsequent calls to functions that use the handle return error values. To prevent errors, the dialog box procedure should notify the owner that the dialog box has been destroyed. Many applications maintain a global variable containing the handle to the dialog box. When the dialog box procedure destroys the dialog box, it also sets the global variable to NULL, indicating that the dialog box is no longer valid.

            The dialog box procedure must not call the EndDialog function to destroy a modeless dialog box.
              回復  更多評論
              
            久久精品一区二区三区中文字幕| 看全色黄大色大片免费久久久| 亚洲伊人久久综合中文成人网| 91久久精品国产91性色也| AV无码久久久久不卡网站下载| 久久丫精品国产亚洲av| 久久精品国产亚洲AV香蕉| 麻豆成人久久精品二区三区免费| 色偷偷偷久久伊人大杳蕉| 国产精品久久久久久| 青青热久久综合网伊人| 久久久久亚洲AV成人网人人软件| 亚洲七七久久精品中文国产| 2021久久精品免费观看| 亚洲国产精品无码久久久蜜芽 | 婷婷综合久久狠狠色99h| 久久综合综合久久97色| 久久精品国产精品亚洲下载| 久久受www免费人成_看片中文| 欧美一区二区三区久久综合| 亚洲国产精久久久久久久| 亚洲国产成人精品久久久国产成人一区二区三区综 | 热re99久久精品国99热| 97久久精品午夜一区二区| 91精品久久久久久无码| 一本色道久久综合| 91精品国产高清久久久久久国产嫩草| 久久夜色撩人精品国产小说| 99精品国产免费久久久久久下载| 99久久国产综合精品麻豆| 无码任你躁久久久久久| 国产午夜免费高清久久影院| 亚州日韩精品专区久久久| 久久91精品国产91久久小草| 狠狠色丁香婷婷久久综合五月| 久久久精品午夜免费不卡| 伊人久久无码中文字幕| 香蕉久久影院| 精品久久久久久久中文字幕 | 精品国产91久久久久久久| 久久精品综合网|