• <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 陳振輝 閱讀(901) 評論(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久久福利国产成人精品| 午夜精品久久久久久久无码| 伊人久久大香线焦AV综合影院| 久久99免费视频| 国产精品亚洲综合久久| 69久久夜色精品国产69| 久久精品亚洲精品国产欧美| 亚洲国产美女精品久久久久∴| 久久99国产精品久久99| 国产成人综合久久精品红| 国产成人精品久久一区二区三区| 久久人人爽人人爽人人片AV麻豆 | 国产精品久久久久久| 久久国产高清一区二区三区| 久久精品国产亚洲AV大全| 中文精品99久久国产| 精品久久久久久久久久久久久久久 | 青青热久久国产久精品 | 日韩精品久久久肉伦网站| 久久精品18| 狠狠色丁香婷婷综合久久来来去| 久久精品国产亚洲AV忘忧草18| 久久久免费精品re6| 国产高潮国产高潮久久久91| 久久精品aⅴ无码中文字字幕不卡| 亚洲国产成人精品女人久久久| 亚洲国产精品热久久| 7777久久亚洲中文字幕| 久久综合给合久久狠狠狠97色| 久久久精品国产免大香伊| 久久中文字幕人妻丝袜| 久久无码国产| 久久99九九国产免费看小说| 亚洲精品久久久www| 久久精品极品盛宴观看| 久久亚洲国产成人影院|