• <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
            <2008年4月>
            303112345
            6789101112
            13141516171819
            20212223242526
            27282930123
            45678910

            常用鏈接

            留言簿(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 陳振輝 閱讀(910) 評論(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.
              回復  更多評論
              
            亚洲精品无码久久久久去q| 精品亚洲综合久久中文字幕| 精品水蜜桃久久久久久久| 久久久久人妻一区精品| 国内精品伊人久久久久网站| 中文字幕无码久久人妻| 91久久精品91久久性色| 国产午夜精品久久久久九九电影| 伊人久久大香线蕉综合5g| 人妻丰满AV无码久久不卡| 国产综合精品久久亚洲| 狼狼综合久久久久综合网| 久久电影网| 久久777国产线看观看精品| 麻豆久久久9性大片| 久久伊人色| 国产精品九九久久免费视频 | 午夜精品久久久久久久久| 99久久99久久精品国产| 久久精品国产久精国产一老狼| 一本一道久久精品综合 | 国产一区二区三区久久| 日产精品久久久久久久| 国产激情久久久久影院小草| 亚洲AV无码久久精品色欲| 久久久久无码中| segui久久国产精品| 亚洲va久久久噜噜噜久久| 久久久久久精品久久久久| 国产精品99久久久久久宅男小说| 精品久久久无码中文字幕天天 | 久久夜色精品国产亚洲| 99精品国产在热久久无毒不卡| 亚洲αv久久久噜噜噜噜噜| 偷偷做久久久久网站| 久久夜色精品国产噜噜亚洲a| 久久久久亚洲av成人无码电影| 99久久er这里只有精品18| 国产精品岛国久久久久| 99久久中文字幕| 91精品国产91久久久久久|