• <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
            <2011年8月>
            31123456
            78910111213
            14151617181920
            21222324252627
            28293031123
            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 陳振輝 閱讀(908) 評論(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.
              回復  更多評論
              
            麻豆久久久9性大片| 九九久久精品无码专区| 亚洲国产日韩欧美久久| | 久久国语露脸国产精品电影| 久久久久高潮综合影院| 久久免费的精品国产V∧| 国产福利电影一区二区三区久久久久成人精品综合 | 亚洲AV成人无码久久精品老人| 久久国产精品99国产精| 久久91这里精品国产2020| 一本色道久久99一综合| 草草久久久无码国产专区| 99久久国产精品免费一区二区| 久久综合九色综合久99| 亚洲精品蜜桃久久久久久| 国产精品免费久久| 国产婷婷成人久久Av免费高清| 色狠狠久久综合网| 精品久久久久久无码免费| 99国产欧美精品久久久蜜芽| 国内精品伊人久久久久妇| 久久久99精品一区二区| 久久国产精品久久| 久久国产亚洲精品无码| 国产精品成人久久久| 国产亚洲成人久久| 久久久中文字幕| 91精品国产色综合久久| 77777亚洲午夜久久多喷| 偷窥少妇久久久久久久久| 亚洲精品国产自在久久| 久久久久亚洲爆乳少妇无| 国产农村妇女毛片精品久久| 青青青国产精品国产精品久久久久| 久久国产乱子伦免费精品| 久久精品国产亚洲AV忘忧草18 | 99蜜桃臀久久久欧美精品网站 | 午夜福利91久久福利| 久久久久九九精品影院| 欧美久久久久久精选9999|