• <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.
              回復  更多評論
              
            久久久久一本毛久久久| 久久久久国产精品嫩草影院| 亚洲精品乱码久久久久久中文字幕 | 久久99热国产这有精品| 99精品国产99久久久久久97| 久久久久无码专区亚洲av| 精品久久久久一区二区三区| 久久久久夜夜夜精品国产| a高清免费毛片久久| 精品免费tv久久久久久久| 精品久久久久久国产潘金莲| 国产精品无码久久久久久| 97久久精品人妻人人搡人人玩 | 亚洲狠狠综合久久| 99久久这里只有精品| 久久99久久99小草精品免视看| 色综合久久最新中文字幕| 色综合久久综精品| 内射无码专区久久亚洲| 久久本道久久综合伊人| 久久无码国产专区精品| 狠狠色噜噜色狠狠狠综合久久| 久久久久久亚洲精品成人| 久久精品国产91久久综合麻豆自制| 国产一区二区三区久久| 国产成人精品综合久久久| 国产毛片久久久久久国产毛片| 亚洲成av人片不卡无码久久| 99蜜桃臀久久久欧美精品网站| 精品久久久久久中文字幕人妻最新 | 欧美久久综合九色综合| 区久久AAA片69亚洲 | 国产欧美久久久精品| 国産精品久久久久久久| yy6080久久| 亚洲国产成人久久综合碰碰动漫3d | 久久综合狠狠色综合伊人| 青春久久| 久久99精品国产99久久| 热久久视久久精品18| 久久99毛片免费观看不卡|