• <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 陳振輝 閱讀(908) 評論(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.
              回復  更多評論
              
            久久久亚洲欧洲日产国码aⅴ| 久久人人爽人人爽人人爽| 亚洲va中文字幕无码久久 | 久久久久亚洲AV成人网人人软件| 亚洲人AV永久一区二区三区久久| 国产精品综合久久第一页| 久久精品国产福利国产秒| 久久99精品久久久久久水蜜桃| 精品久久久久久无码中文字幕一区 | 97超级碰碰碰久久久久| 一本久久a久久精品vr综合| 亚洲成色www久久网站夜月| 少妇久久久久久被弄高潮| 久久Av无码精品人妻系列| 国产99久久九九精品无码| 精品国产一区二区三区久久| 97久久精品人人做人人爽| 亚洲精品国产字幕久久不卡| 99re久久精品国产首页2020| 四虎国产精品免费久久5151 | 久久天天躁夜夜躁狠狠躁2022| 91精品国产综合久久精品| 久久久久久久波多野结衣高潮| 久久亚洲AV成人无码国产| 久久精品无码一区二区日韩AV| 狠狠色丁香婷婷久久综合不卡 | 久久狠狠爱亚洲综合影院| 丰满少妇人妻久久久久久| 中文字幕人妻色偷偷久久| 中文字幕精品久久久久人妻| 久久午夜无码鲁丝片午夜精品| 麻豆一区二区99久久久久| 久久久免费观成人影院| 久久久久四虎国产精品| 久久无码高潮喷水| 一级做a爰片久久毛片免费陪| 久久久久夜夜夜精品国产| 国产午夜电影久久| 久久国产高清一区二区三区| 久久久亚洲裙底偷窥综合| 久久精品国产亚洲AV大全|