• <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年5月>
            27282930123
            45678910
            11121314151617
            18192021222324
            25262728293031
            1234567

            常用鏈接

            留言簿(1)

            隨筆分類

            隨筆檔案

            相冊(cè)

            News

            Program

            搜索

            •  

            最新評(píng)論

            閱讀排行榜

            評(píng)論排行榜

                     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 陳振輝 閱讀(900) 評(píng)論(3)  編輯 收藏 引用 所屬分類: MFC

            FeedBack:
            # re: Destroy modeless dialog box 2008-08-10 23:28 企業(yè)即時(shí)通訊
            說什么來了?我怎么銷毀呢?New 了之后?。  回復(fù)  更多評(píng)論
              
            # re: Destroy modeless dialog box 2008-08-10 23:32 企業(yè)即時(shí)通訊
            看第二遍終于明白了。  回復(fù)  更多評(píng)論
              
            # 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.
              回復(fù)  更多評(píng)論
              

            只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。
            相關(guān)文章:
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


            久久精品国产亚洲网站| 久久大香萑太香蕉av| 久久99精品久久久久久噜噜| 久久播电影网| 99久久国产宗和精品1上映 | 久久伊人五月丁香狠狠色| 看久久久久久a级毛片| 精品久久人人做人人爽综合| 久久亚洲AV成人无码软件 | 久久国产精品成人片免费| 国产精品久久久久一区二区三区 | 日韩精品国产自在久久现线拍| 久久亚洲色一区二区三区| 久久久国产乱子伦精品作者| 久久国产精品偷99| 久久久无码精品亚洲日韩蜜臀浪潮| 国产成人久久777777| 少妇精品久久久一区二区三区| 国产亚州精品女人久久久久久 | 色综合久久综合网观看| 亚洲国产成人久久一区WWW| 97r久久精品国产99国产精| 亚洲婷婷国产精品电影人久久| 77777亚洲午夜久久多喷| 国产成人综合久久精品红| 国产精品成人99久久久久| 久久久久免费看成人影片| 一级A毛片免费观看久久精品| 久久久久国产精品| 日韩av无码久久精品免费| 日韩电影久久久被窝网| 久久综合欧美成人| 久久人人爽人人爽人人片AV不| 一级a性色生活片久久无少妇一级婬片免费放 | 日韩电影久久久被窝网| 办公室久久精品| 久久99国产综合精品| 精品久久久无码21p发布| 蜜臀久久99精品久久久久久| 97精品伊人久久久大香线蕉 | 亚洲AV无码成人网站久久精品大|