• <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.
              回復  更多評論
              
            久久久久久人妻无码| 一本大道久久a久久精品综合| 国产一区二区精品久久凹凸 | 一本一本久久A久久综合精品 | 久久93精品国产91久久综合| 国产精品一久久香蕉国产线看观看 | 久久精品国产亚洲AV无码偷窥| 久久精品中文字幕无码绿巨人| 国产亚洲婷婷香蕉久久精品| 曰曰摸天天摸人人看久久久| 久久精品草草草| 久久综合亚洲色HEZYO社区| 99久久婷婷国产综合精品草原| 精品国产青草久久久久福利| 狠狠综合久久综合中文88| 一本久道久久综合狠狠爱| 99久久亚洲综合精品成人| 中文字幕久久波多野结衣av| 久久AV无码精品人妻糸列| 偷偷做久久久久网站| 国产精品免费看久久久 | 亚洲色大成网站www久久九| 99久久99这里只有免费的精品| 人妻无码αv中文字幕久久| 老男人久久青草av高清| 国产L精品国产亚洲区久久 | 久久精品中文字幕第23页| 久久精品国产亚洲av影院| 亚洲午夜无码AV毛片久久| 一级a性色生活片久久无| 亚洲综合精品香蕉久久网97| 久久综合九色综合网站| 香蕉aa三级久久毛片| 国产美女亚洲精品久久久综合| 国内精品欧美久久精品| 亚洲国产精品热久久| 青青草原综合久久| 热综合一本伊人久久精品| 久久精品国产精品亚洲下载| 性欧美大战久久久久久久久| 77777亚洲午夜久久多喷|