• <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.
              回復  更多評論
              
            久久久久久青草大香综合精品| 中文精品99久久国产 | 亚洲国产成人乱码精品女人久久久不卡 | 国产91色综合久久免费| 少妇精品久久久一区二区三区| 99精品久久精品| 久久无码人妻精品一区二区三区| 国产午夜精品理论片久久| 久久人人爽人人爽人人片AV东京热| 久久91精品国产91久久麻豆| 久久99精品国产99久久| 亚洲午夜无码久久久久小说| 中文字幕日本人妻久久久免费| 99久久无码一区人妻a黑| 国产国产成人久久精品| 亚洲国产精品无码久久青草| 国产精品美女久久久m| 久久综合视频网站| 欧美久久综合性欧美| 久久综合久久综合亚洲| 国产精品美女久久久网AV| 伊人久久大香线蕉亚洲五月天 | 欧美日韩精品久久久免费观看| 四虎国产精品成人免费久久| 久久精品国产亚洲麻豆| 欧美大香线蕉线伊人久久| 四虎影视久久久免费| 久久夜色tv网站| 亚洲色婷婷综合久久| 亚洲国产精品狼友中文久久久| 国产高清美女一级a毛片久久w| 日韩乱码人妻无码中文字幕久久| 久久久久亚洲AV无码专区网站| 久久99国产精品99久久| 亚洲精品国产综合久久一线| 国产精品99久久不卡| 91精品国产高清91久久久久久| 久久精品欧美日韩精品| 午夜天堂精品久久久久| 久久人人妻人人爽人人爽| 亚洲AV无码久久精品色欲|