• <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)

            隨筆分類

            隨筆檔案

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

            FeedBack:
            # re: Destroy modeless dialog box 2008-08-10 23:28 企業(yè)即時(shí)通訊
            說(shuō)什么來(lái)了?我怎么銷毀呢?New 了之后?。  回復(fù)  更多評(píng)論
              
            # re: Destroy modeless dialog box 2008-08-10 23:32 企業(yè)即時(shí)通訊
            看第二遍終于明白了。  回復(fù)  更多評(píng)論
              
            # re: Destroy modeless dialog box[未登錄](méi) 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)論
              
            久久久国产精品网站| 国产国产成人久久精品| 性欧美丰满熟妇XXXX性久久久 | 蜜臀av性久久久久蜜臀aⅴ| 久久人人爽人人爽人人片AV不 | 亚洲美日韩Av中文字幕无码久久久妻妇| 色综合久久88色综合天天| 久久久久亚洲AV成人网| 色综合久久无码五十路人妻| 久久国产成人| 久久久久亚洲AV无码网站| 欧美久久亚洲精品| 国产精品无码久久综合 | 成人资源影音先锋久久资源网| 久久久久噜噜噜亚洲熟女综合| 97久久婷婷五月综合色d啪蜜芽| 久久国产美女免费观看精品| 99久久99久久久精品齐齐| 久久99久国产麻精品66| 久久人人超碰精品CAOPOREN| av国内精品久久久久影院| 久久人与动人物a级毛片| 亚洲精品99久久久久中文字幕| 久久91精品国产91久久户| 久久综合香蕉国产蜜臀AV| 热久久最新网站获取| 久久精品国产第一区二区| 色偷偷888欧美精品久久久| 亚洲午夜久久久精品影院| 久久99久久99精品免视看动漫| 久久久久亚洲av综合波多野结衣 | 国产福利电影一区二区三区久久老子无码午夜伦不 | 久久久婷婷五月亚洲97号色| 99久久夜色精品国产网站 | 日产久久强奸免费的看| 中文字幕亚洲综合久久| 久久久久99精品成人片试看| 亚洲AV无码久久| 亚洲午夜无码久久久久| 精品久久久久久久久午夜福利| 99久久免费国产精品特黄|