• <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.
              回復  更多評論
              
            国产精品欧美久久久久无广告 | 国产三级观看久久| 久久久精品人妻无码专区不卡| 久久九九久精品国产| 久久久亚洲裙底偷窥综合| 国产精品美女久久久m| 久久久这里只有精品加勒比| 国产精品久久午夜夜伦鲁鲁| 久久亚洲国产成人影院| 成人资源影音先锋久久资源网| 亚洲国产成人久久一区WWW| 精品久久久久久无码专区不卡| 伊人久久大香线蕉综合热线| 国产精品99久久久久久人| 久久无码AV一区二区三区| AA级片免费看视频久久| 久久久无码一区二区三区| 中文字幕精品久久| 久久久久久久国产免费看| 国产精品久久久久久久久免费| 午夜人妻久久久久久久久| 伊人伊成久久人综合网777| A级毛片无码久久精品免费| 久久99国产精品久久99果冻传媒| 久久亚洲日韩看片无码| 久久亚洲精品无码观看不卡| 国产精品成人精品久久久| 狠色狠色狠狠色综合久久| 久久精品天天中文字幕人妻 | 狠狠色丁香久久婷婷综| 国产成年无码久久久久毛片| 欧美丰满熟妇BBB久久久| 亚洲va久久久噜噜噜久久| 久久天天躁狠狠躁夜夜躁2O2O| 伊人久久大香线蕉亚洲| 亚洲AV乱码久久精品蜜桃| 久久中文骚妇内射| 精品久久久久久成人AV| 欧美伊香蕉久久综合类网站| 9999国产精品欧美久久久久久| 国产精品激情综合久久|