• <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年7月>
            293012345
            6789101112
            13141516171819
            20212223242526
            272829303112
            3456789

            常用鏈接

            留言簿(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 陳振輝 閱讀(910) 評論(3)  編輯 收藏 引用 所屬分類: MFC

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

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


            青青草国产成人久久91网| 婷婷久久综合九色综合98| 国产色综合久久无码有码| 久久毛片一区二区| 狠狠色婷婷综合天天久久丁香 | 久久精品国产免费观看三人同眠| 久久亚洲精品人成综合网| 国内精品久久久久久中文字幕| 开心久久婷婷综合中文字幕| 99久久无码一区人妻a黑| 久久久久18| 91久久国产视频| 久久精品国产AV一区二区三区| 久久91精品国产91久久小草| 四虎影视久久久免费| 久久综合久久综合九色| 亚洲色欲久久久久综合网| 久久er国产精品免费观看8| 久久精品无码午夜福利理论片| 国色天香久久久久久久小说| 18岁日韩内射颜射午夜久久成人| 国内精品久久久久影院一蜜桃| 久久中文字幕精品| 久久精品人妻一区二区三区| 天天综合久久久网| 久久精品一区二区国产| 久久发布国产伦子伦精品| 精品久久久久久无码不卡| 久久国产色av免费看| 深夜久久AAAAA级毛片免费看| 狠狠色丁香久久婷婷综| 2021少妇久久久久久久久久| 国内精品久久久久久久涩爱| 久久精品国产99国产精品澳门| 伊人久久综合成人网| 99久久99久久精品国产片果冻 | 潮喷大喷水系列无码久久精品| 色欲综合久久躁天天躁蜜桃| 久久99国产精品久久99果冻传媒 | 亚洲精品乱码久久久久久按摩 | 久久受www免费人成_看片中文|