• <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年5月>
            27282930123
            45678910
            11121314151617
            18192021222324
            25262728293031
            1234567

            常用鏈接

            留言簿(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 陳振輝 閱讀(899) 評論(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.
              回復  更多評論
              
            国产精品久久免费| 蜜臀av性久久久久蜜臀aⅴ麻豆| 久久综合中文字幕| 久久国产高清一区二区三区| 亚洲欧美成人久久综合中文网 | 18禁黄久久久AAA片| 久久人人爽人人爽人人片AV不| 国产精品美女久久久久| 久久天天躁狠狠躁夜夜av浪潮| 久久久久亚洲AV无码专区体验| AV色综合久久天堂AV色综合在| 99久久伊人精品综合观看| 综合久久一区二区三区| 国产精品久久毛片完整版| 合区精品久久久中文字幕一区| 久久精品麻豆日日躁夜夜躁| 久久久久国色AV免费观看| 日韩乱码人妻无码中文字幕久久| 成人a毛片久久免费播放| 欧美午夜精品久久久久免费视| 久久av免费天堂小草播放| 77777亚洲午夜久久多喷| 亚洲精品无码专区久久久| 人妻中文久久久久| 亚洲成人精品久久| 精品人妻久久久久久888| 国产一区二区久久久| 久久婷婷五月综合色99啪ak| 久久夜色tv网站| 久久96国产精品久久久| 97精品久久天干天天天按摩| 久久久亚洲欧洲日产国码二区| 人妻无码αv中文字幕久久琪琪布 人妻无码精品久久亚瑟影视 | 亚洲va久久久噜噜噜久久狠狠| 欧美久久久久久午夜精品| 国内精品久久久久影院免费| 97精品依人久久久大香线蕉97| 精品综合久久久久久98| 亚洲色大成网站WWW久久九九| 久久精品国产2020| 久久精品青青草原伊人|