• <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
            <2011年8月>
            31123456
            78910111213
            14151617181920
            21222324252627
            28293031123
            45678910

            常用鏈接

            留言簿(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.
              回復  更多評論
              
            亚洲AV无一区二区三区久久| 狠狠色丁香久久婷婷综合图片| 久久丫精品国产亚洲av不卡| 91精品国产9l久久久久| 国产精品成人99久久久久| 久久无码人妻精品一区二区三区| 久久伊人五月丁香狠狠色| 国产精品久久久久久影院| 日韩美女18网站久久精品| 久久精品亚洲一区二区三区浴池 | 久久久91人妻无码精品蜜桃HD| 欧美成a人片免费看久久| 久久香蕉超碰97国产精品| AA级片免费看视频久久| 一本色道久久HEZYO无码| 久久久久一区二区三区| 伊人久久大香线蕉亚洲| 久久久久成人精品无码| 国产精品一区二区久久国产| 超级碰碰碰碰97久久久久| 久久久久久久99精品免费观看| 蜜臀久久99精品久久久久久小说| AAA级久久久精品无码区| 97r久久精品国产99国产精| 77777亚洲午夜久久多喷| 性欧美大战久久久久久久| 精品久久久久久国产免费了| 国产V综合V亚洲欧美久久| 无码人妻久久一区二区三区免费丨 | 青青草国产97免久久费观看| 狠狠色丁香婷综合久久| 色欲av伊人久久大香线蕉影院| 亚洲国产精品一区二区三区久久 | 久久综合中文字幕| 久久精品国产99国产电影网 | 国产成人精品久久综合| 日本久久久久久中文字幕| 久久电影网一区| 国产99久久九九精品无码| 久久综合狠狠综合久久激情 | 青青草原综合久久大伊人精品|