• <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年7月>
            293012345
            6789101112
            13141516171819
            20212223242526
            272829303112
            3456789

            常用鏈接

            留言簿(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 企業即時通訊
            說什么來了?我怎么銷毀呢?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.
              回復  更多評論
              
            国产精品久久久久jk制服| 一本色道久久99一综合| 麻豆AV一区二区三区久久| 人妻久久久一区二区三区| 亚洲国产另类久久久精品黑人| 久久国产精品久久精品国产| 青青青青久久精品国产h久久精品五福影院1421 | 欧美亚洲国产精品久久久久| 亚洲精品国精品久久99热| 久久久久久亚洲精品成人| 久久久久国产成人精品亚洲午夜| 久久精品成人影院| 一本久久a久久精品综合香蕉| 久久久久人妻一区二区三区vr| 99久久99久久精品国产片果冻| 亚洲精品tv久久久久久久久 | 久久99国产精一区二区三区 | 色88久久久久高潮综合影院| 国产高清美女一级a毛片久久w| 久久久久无码精品国产不卡| 久久精品国产亚洲精品| 国内精品久久久久影院优| 日日狠狠久久偷偷色综合0| 久久99精品久久久久婷婷| 亚洲一级Av无码毛片久久精品| 国产精品久久国产精麻豆99网站| 77777亚洲午夜久久多喷| 久久国产成人午夜AV影院| 观看 国产综合久久久久鬼色 欧美 亚洲 一区二区 | 欧美精品一区二区精品久久| 久久涩综合| 久久精品一区二区影院| 久久大香香蕉国产| 色综合久久久久久久久五月| 久久久这里只有精品加勒比| 免费一级欧美大片久久网 | 久久青青草原精品国产不卡| 99久久免费国产精品| 91精品无码久久久久久五月天 | 亚洲女久久久噜噜噜熟女| 亚洲午夜无码久久久久小说 |