• <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.
              回復  更多評論
              
            久久夜色精品国产噜噜麻豆| 模特私拍国产精品久久| 97久久精品无码一区二区天美| 国产一久久香蕉国产线看观看| 一本大道久久a久久精品综合| 中文国产成人精品久久亚洲精品AⅤ无码精品 | 亚洲综合日韩久久成人AV| 国产三级久久久精品麻豆三级 | 久久99国产精品99久久| 久久久久久国产精品免费免费| 一本色综合网久久| 久久婷婷五月综合色99啪ak| 久久人妻少妇嫩草AV无码专区| 国产香蕉97碰碰久久人人| 久久青青草原亚洲av无码app | 人妻无码久久精品| 91精品国产91热久久久久福利| 国产A三级久久精品| 三级片免费观看久久| 亚洲一本综合久久| 久久ww精品w免费人成| 精品人妻伦九区久久AAA片69| 久久AⅤ人妻少妇嫩草影院| 久久99国产综合精品| 色偷偷久久一区二区三区| 国产精品久久久久蜜芽| 无码精品久久一区二区三区| 久久夜色tv网站| 亚洲国产精品久久久久网站| 国产69精品久久久久777| 亚洲中文字幕无码久久综合网| 久久婷婷人人澡人人| 国产精品伦理久久久久久| 91精品国产高清久久久久久国产嫩草 | 久久九九久精品国产| 国产午夜精品久久久久九九| 国产激情久久久久影院老熟女免费 | 久久91精品国产91| 2020久久精品亚洲热综合一本 | A狠狠久久蜜臀婷色中文网| 久久香综合精品久久伊人|