• <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 企業(yè)即時通訊
            說什么來了?我怎么銷毀呢?New 了之后?。  回復  更多評論
              
            # re: Destroy modeless dialog box 2008-08-10 23:32 企業(yè)即時通訊
            看第二遍終于明白了。  回復  更多評論
              
            # 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.
              回復  更多評論
              
            国产福利电影一区二区三区久久老子无码午夜伦不 | 久久永久免费人妻精品下载| 偷窥少妇久久久久久久久| 国产精品久久婷婷六月丁香| 国产麻豆精品久久一二三| 国产亚州精品女人久久久久久 | 伊人久久亚洲综合影院| 国产精品九九九久久九九| 手机看片久久高清国产日韩 | 久久久青草青青亚洲国产免观| 久久午夜福利电影| 精品少妇人妻av无码久久| 亚洲欧美久久久久9999| 亚洲狠狠综合久久| 色欲久久久天天天综合网| 久久WWW免费人成—看片| 色狠狠久久AV五月综合| 亚洲日本va午夜中文字幕久久| 久久99国产精品二区不卡| 18岁日韩内射颜射午夜久久成人| 热久久这里只有精品| 日产精品99久久久久久| 中文成人无码精品久久久不卡| 国产精品日韩欧美久久综合| 久久er99热精品一区二区| 无码AV中文字幕久久专区| 久久精品桃花综合| 久久国产高清一区二区三区| 97r久久精品国产99国产精| 少妇人妻88久久中文字幕| 偷窥少妇久久久久久久久| 亚洲一区精品伊人久久伊人| 亚洲精品成人久久久| 欧美粉嫩小泬久久久久久久| 国产ww久久久久久久久久| 久久国产精品久久久| 秋霞久久国产精品电影院| 青青青青久久精品国产h| 久久97久久97精品免视看秋霞| 国产99久久久久久免费看| 久久激情五月丁香伊人|