• <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久久精品免费国产大片| 久久国产影院| 国内精品伊人久久久久网站| 国产精品内射久久久久欢欢| 亚洲精品国产成人99久久| 99久久精品免费| 久久精品国产久精国产果冻传媒| 国产精品久久新婚兰兰| 国产精品一区二区久久精品| 久久精品视频91| 99国产精品久久| 久久亚洲国产成人影院| 久久精品中文无码资源站| 久久久久无码精品| 国内精品久久久久久久coent| 天天综合久久一二三区| 91精品国产综合久久香蕉 | 久久综合亚洲色HEZYO社区 | 国内精品欧美久久精品| 久久亚洲欧美日本精品| 精品午夜久久福利大片| 少妇久久久久久被弄高潮| 亚洲国产成人精品无码久久久久久综合 | 99久久99久久久精品齐齐 | 国产精品久久久久一区二区三区| 久久av无码专区亚洲av桃花岛| 亚洲国产另类久久久精品小说| 亚洲国产小视频精品久久久三级| 99久久国产综合精品网成人影院| 99久久99久久久精品齐齐| 精品久久久久中文字幕一区| 久久精品国产亚洲7777| 欧美一区二区久久精品| 777米奇久久最新地址| 久久久久久久91精品免费观看| 精品一二三区久久aaa片| 久久福利青草精品资源站免费 | 欧美精品一区二区久久| 欧洲成人午夜精品无码区久久| 久久精品国产精品青草|