• <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精品国产综合久久香蕉| 国产偷久久久精品专区| 无码国内精品久久人妻蜜桃| 精品国产91久久久久久久| 久久夜色精品国产www| 久久久久久久久无码精品亚洲日韩| jizzjizz国产精品久久| 伊人久久大香线蕉综合网站| 99热成人精品热久久669| 久久这里的只有是精品23| 久久精品国产亚洲欧美| 亚洲伊人久久成综合人影院| 久久国产精品99精品国产987| 日本久久中文字幕| 国产69精品久久久久99| 99久久人妻无码精品系列| 亚洲精品WWW久久久久久| segui久久国产精品| 久久久国产乱子伦精品作者| 亚洲欧美另类日本久久国产真实乱对白| 99久久精品国内| 国内精品久久人妻互换| 亚洲色婷婷综合久久| 久久精品卫校国产小美女| 久久伊人精品青青草原日本| 精品一久久香蕉国产线看播放| 99久久成人国产精品免费| 国内精品久久久久伊人av| 久久超乳爆乳中文字幕| 996久久国产精品线观看| 久久久精品免费国产四虎| 久久精品国产99国产电影网| 青青草原综合久久| 国产精品无码久久四虎| 国产一区二区精品久久凹凸| 久久国产美女免费观看精品| 久久e热在这里只有国产中文精品99| 国产精品青草久久久久福利99| 久久精品国产亚洲Aⅴ香蕉 | 久久久久久久女国产乱让韩 |