• <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.
              回復  更多評論
              
            久久久久久久人妻无码中文字幕爆| 久久国产成人精品麻豆| 亚洲国产视频久久| 日韩久久久久久中文人妻| 国产精品无码久久久久久| 模特私拍国产精品久久| 久久不射电影网| 无码专区久久综合久中文字幕| 久久久国产精华液| 久久电影网2021| 欧美丰满熟妇BBB久久久| 综合久久久久久中文字幕亚洲国产国产综合一区首 | 久久精品国产亚洲AV无码偷窥| 久久精品无码av| 51久久夜色精品国产| 久久亚洲春色中文字幕久久久| 亚洲国产成人精品91久久久| avtt天堂网久久精品| 97久久国产综合精品女不卡| 色8激情欧美成人久久综合电| 99久久精品久久久久久清纯| 久久久av波多野一区二区| 久久AV高潮AV无码AV| 国产99久久久国产精品小说| 久久亚洲高清综合| 久久久精品国产Sm最大网站| 久久久久亚洲AV成人网人人软件| 久久国产精品99久久久久久老狼| 久久国产精品99精品国产| 久久久亚洲欧洲日产国码aⅴ | 久久精品国产精品青草app| 久久精品国产亚洲av影院| 久久综合给合久久狠狠狠97色69| 久久婷婷五月综合色奶水99啪| 国内精品伊人久久久影院| 一本一道久久a久久精品综合| 日韩十八禁一区二区久久| 久久青青色综合| 精品综合久久久久久888蜜芽| 精品久久8x国产免费观看| 久久亚洲国产精品一区二区|