• <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 陳振輝 閱讀(910) 評論(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.
              回復  更多評論
              
            亚洲国产成人久久一区WWW| 亚洲AV日韩AV天堂久久| 国产成人久久777777| 麻豆精品久久精品色综合| 99久久婷婷国产一区二区| 久久久久久久免费视频| www.久久热.com| 色天使久久综合网天天| 久久久综合九色合综国产| 一日本道伊人久久综合影| 久久这里只有精品久久| 亚洲国产另类久久久精品黑人| 久久久久久久尹人综合网亚洲| 中文字幕亚洲综合久久菠萝蜜| 久久精品国产精品亚洲毛片| 久久九九久精品国产| 99精品久久精品一区二区| 久久99国产精品成人欧美| 久久婷婷五月综合色奶水99啪| 久久综合九色综合97_久久久| 亚洲精品美女久久久久99小说 | 少妇被又大又粗又爽毛片久久黑人| 久久精品国产亚洲AV不卡| 狠狠人妻久久久久久综合蜜桃| 久久精品中文騷妇女内射| 亚洲欧美一区二区三区久久| 久久国产精品无码网站| 91久久香蕉国产熟女线看| 91久久精一区二区三区大全| 久久国产精品成人影院| 无遮挡粉嫩小泬久久久久久久 | 久久黄色视频| 99久久精品国产一区二区| 天天爽天天爽天天片a久久网| 国产婷婷成人久久Av免费高清| 久久精品人成免费| 日韩人妻无码一区二区三区久久| 久久婷婷成人综合色综合| 亚洲国产视频久久| 久久精品国产国产精品四凭| 国产亚洲色婷婷久久99精品91|