• <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.
              回復  更多評論
              
            久久久网中文字幕| 99精品久久精品一区二区| 伊人久久亚洲综合影院| 久久亚洲精品无码aⅴ大香| 久久精品aⅴ无码中文字字幕不卡| 国产精品久久久久久影院| 欧美激情精品久久久久久久九九九| 亚洲伊人久久大香线蕉综合图片| 亚洲国产精品久久久久久| 亚洲精品乱码久久久久久蜜桃图片 | 欧美精品久久久久久久自慰| 国产精品成人久久久久久久| 国内精品综合久久久40p| 国产巨作麻豆欧美亚洲综合久久| 色综合久久无码中文字幕| 日韩欧美亚洲综合久久影院Ds| 欧美精品一本久久男人的天堂| 久久久久青草线蕉综合超碰| 91亚洲国产成人久久精品| 99re这里只有精品热久久| 精产国品久久一二三产区区别| 久久er国产精品免费观看8| av无码久久久久久不卡网站 | 色综合久久88色综合天天 | 成人亚洲欧美久久久久| 久久亚洲精品视频| 99久久精品影院老鸭窝| 99久久久国产精品免费无卡顿| 久久天天躁狠狠躁夜夜avapp| 久久综合九色欧美综合狠狠| 激情久久久久久久久久| 久久91综合国产91久久精品| 久久99国产精品一区二区| 久久亚洲国产午夜精品理论片| 久久精品免费一区二区三区| 久久―日本道色综合久久| 久久精品国产99国产电影网| 日本福利片国产午夜久久| 国产精品伊人久久伊人电影| 久久涩综合| 狠狠综合久久综合88亚洲|