• <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年8月>
            272829303112
            3456789
            10111213141516
            17181920212223
            24252627282930
            31123456

            常用鏈接

            留言簿(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.
              回復  更多評論
              
            色综合久久中文字幕综合网| 一本一本久久aa综合精品| 91久久婷婷国产综合精品青草| 99久久精品午夜一区二区| 日本精品久久久久久久久免费| 一级做a爱片久久毛片| 亚洲国产天堂久久综合网站| 2019久久久高清456| 久久精品国产亚洲AV香蕉| 精品国产91久久久久久久a| 伊人久久精品无码av一区| 国产日产久久高清欧美一区| 一本色道久久综合| 99久久国产综合精品网成人影院| 亚洲精品无码久久久影院相关影片 | 伊人久久综合精品无码AV专区| 欧美激情精品久久久久| 亚洲精品国产美女久久久| 久久久久久国产精品免费免费| 久久无码人妻一区二区三区午夜| 亚洲国产天堂久久久久久| 狠狠人妻久久久久久综合蜜桃 | 国产精品对白刺激久久久| 久久久久久久综合狠狠综合| 九九久久精品无码专区| 99精品久久精品| 色综合久久综合中文综合网 | 久久青青草原国产精品免费| 久久综合狠狠综合久久| 久久久亚洲裙底偷窥综合 | 国产高潮国产高潮久久久| 婷婷久久香蕉五月综合加勒比| 性欧美大战久久久久久久| 亚洲国产成人久久综合区| 久久久久亚洲精品天堂久久久久久 | 麻豆精品久久精品色综合| 精品久久人妻av中文字幕| 久久精品亚洲日本波多野结衣| 亚洲国产精品无码久久久蜜芽| 色婷婷综合久久久久中文| 精品蜜臀久久久久99网站|