• <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)

            隨筆分類

            隨筆檔案

            相冊(cè)

            News

            Program

            搜索

            •  

            最新評(píng)論

            閱讀排行榜

            評(píng)論排行榜

                     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) 評(píng)論(3)  編輯 收藏 引用 所屬分類: MFC

            FeedBack:
            # re: Destroy modeless dialog box 2008-08-10 23:28 企業(yè)即時(shí)通訊
            說(shuō)什么來(lái)了?我怎么銷毀呢?New 了之后?。  回復(fù)  更多評(píng)論
              
            # re: Destroy modeless dialog box 2008-08-10 23:32 企業(yè)即時(shí)通訊
            看第二遍終于明白了。  回復(fù)  更多評(píng)論
              
            # re: Destroy modeless dialog box[未登錄](méi) 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.
              回復(fù)  更多評(píng)論
              
            一级做a爰片久久毛片看看 | 99久久亚洲综合精品成人| 久久精品国产99久久无毒不卡| 精品国产VA久久久久久久冰| 国产成人精品久久亚洲高清不卡 | 久久亚洲精品无码观看不卡| 伊人精品久久久久7777| 99久久精品国产麻豆| 久久91这里精品国产2020| 久久精品国产亚洲AV嫖农村妇女| 国产视频久久| 国产精品亚洲综合久久 | 久久久久99这里有精品10| 久久国产亚洲高清观看| 久久久久国产精品三级网| 国产精品久久成人影院| 伊人久久大香线蕉综合影院首页| 久久99精品久久久久久水蜜桃| 午夜视频久久久久一区 | 久久久久亚洲av综合波多野结衣 | 久久久久久a亚洲欧洲aⅴ| 久久无码中文字幕东京热| 久久99精品久久久久久不卡| 51久久夜色精品国产| 99久久精品国产高清一区二区 | 久久综合香蕉国产蜜臀AV| 久久91精品国产91久| 久久精品亚洲福利| 日韩欧美亚洲综合久久影院d3| 国产精品久久99| 久久青青草原综合伊人| 久久久久亚洲AV成人片| 狠狠色噜噜色狠狠狠综合久久 | 激情五月综合综合久久69| 国产精品99久久免费观看| 欧美久久综合性欧美| 久久精品国产亚洲AV无码娇色| 久久久久人妻精品一区| 久久91亚洲人成电影网站| 99久久国产综合精品麻豆| 7777久久亚洲中文字幕|