• <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年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 陳振輝 閱讀(930) 評論(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.
              回復  更多評論
              
            人妻精品久久无码专区精东影业| 久久综合九色欧美综合狠狠| 中文精品久久久久人妻| 久久久无码精品亚洲日韩按摩| 久久免费小视频| 久久大香萑太香蕉av| 精品久久久久久国产| 亚洲精品乱码久久久久久| 久久精品国产色蜜蜜麻豆| 久久99精品国产麻豆宅宅| 欧美粉嫩小泬久久久久久久| 久久精品99久久香蕉国产色戒| 香蕉久久AⅤ一区二区三区| 国产精品熟女福利久久AV | 欧美激情精品久久久久| 区久久AAA片69亚洲| 岛国搬运www久久| 国产一久久香蕉国产线看观看| 久久精品国产99久久久古代| 精品伊人久久久| 欧美日韩成人精品久久久免费看 | 国产99久久久国产精免费| 日韩精品久久无码中文字幕| 久久久久国产亚洲AV麻豆| 国产精品久久久久一区二区三区| 久久国产乱子伦免费精品| 亚洲国产精品无码久久98| 亚洲精品高清国产一线久久| 久久人人添人人爽添人人片牛牛 | 久久精品国产亚洲av水果派| 国产色综合久久无码有码| 久久精品国产2020| 亚洲精品国精品久久99热| 久久笫一福利免费导航| 亚洲级αV无码毛片久久精品| 亚洲?V乱码久久精品蜜桃| 亚洲乱码日产精品a级毛片久久| 日韩电影久久久被窝网| 一级做a爰片久久毛片免费陪| 一本久久综合亚洲鲁鲁五月天| 伊人久久精品影院|