• <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 企業即時通訊
            說什么來了?我怎么銷毀呢?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.
              回復  更多評論
              
            91超碰碰碰碰久久久久久综合| 91视频国产91久久久| 久久免费小视频| 99国内精品久久久久久久| 武侠古典久久婷婷狼人伊人| 久久一本综合| 99999久久久久久亚洲| 国产午夜精品久久久久九九电影| 99久久无色码中文字幕| 99久久无码一区人妻a黑| 一本色道久久88加勒比—综合| 免费精品久久久久久中文字幕| 青青热久久国产久精品 | 亚洲国产成人久久综合区| 欧美精品丝袜久久久中文字幕 | 91久久婷婷国产综合精品青草| 精品久久久久久国产| 久久精品女人天堂AV麻| 精品久久综合1区2区3区激情| 香蕉久久一区二区不卡无毒影院| 久久亚洲中文字幕精品一区| 精品久久久久久中文字幕大豆网| 国产精品99久久久久久董美香| 久久久久久久久久久免费精品| 婷婷久久五月天| 久久综合久久综合久久| 一本久久综合亚洲鲁鲁五月天| 国产一区二区精品久久凹凸| 婷婷伊人久久大香线蕉AV| 伊人久久大香线蕉综合5g| 四虎国产精品免费久久5151| 亚洲av伊人久久综合密臀性色| 国产成人久久精品二区三区| 久久精品国产2020| 久久人人爽人人爽人人片AV高清| 久久香蕉国产线看观看99| 久久婷婷成人综合色综合| 一本一道久久综合狠狠老| 香蕉久久久久久狠狠色| 久久久久久久久久久免费精品| 99久久无色码中文字幕|