• <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.
              回復  更多評論
              
            久久只这里是精品66| 精品久久久久香蕉网| 欧美精品一区二区久久| 久久强奷乱码老熟女网站| 国产精品99久久免费观看| 狠狠色伊人久久精品综合网 | 久久无码人妻一区二区三区 | 亚洲国产精品嫩草影院久久 | MM131亚洲国产美女久久| 国产午夜精品久久久久九九| 香蕉久久影院| 91久久福利国产成人精品| 日韩人妻无码精品久久久不卡| 久久国产成人午夜AV影院| 精品久久久久久亚洲精品| 久久99这里只有精品国产| 99久久精品免费看国产一区二区三区| 久久99这里只有精品国产| 久久久久亚洲精品中文字幕| 久久精品国产99国产精偷| 久久精品人人做人人爽97 | 亚洲精品高清国产一线久久| 久久青青草原精品国产软件| 国产精品欧美久久久天天影视| 亚洲人成精品久久久久| 色天使久久综合网天天| 亚洲综合久久久| 欧美激情精品久久久久久久九九九 | 亚洲国产精品狼友中文久久久| 色综合久久天天综合| 国产精品久久久久无码av| 国内精品久久人妻互换| 狠狠色丁香婷婷综合久久来 | 久久综合九色综合网站| 无码日韩人妻精品久久蜜桃| 欧美va久久久噜噜噜久久| 日本人妻丰满熟妇久久久久久| 久久久久成人精品无码中文字幕 | 99久久精品免费看国产一区二区三区 | 亚洲综合久久综合激情久久| 久久久久人妻精品一区二区三区 |