• <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.
              回復  更多評論
              
            久久精品草草草| 国产精品99精品久久免费| 午夜精品久久久久久影视777| 日韩电影久久久被窝网| 中文成人久久久久影院免费观看| 色诱久久久久综合网ywww| 久久亚洲欧美日本精品| 2020久久精品亚洲热综合一本| 久久久噜噜噜久久中文福利| 国产99久久久久久免费看| 久久久久久久91精品免费观看| 久久se精品一区二区| 精品国产乱码久久久久软件| 久久精品人人做人人爽电影| 久久精品中文字幕一区| 久久91精品综合国产首页| 久久久亚洲欧洲日产国码二区| 欧美伊人久久大香线蕉综合| 国产精品99久久久久久董美香| 人妻精品久久无码区| 久久久国产99久久国产一| 国产精品熟女福利久久AV| 久久精品国产亚洲AV高清热| 漂亮人妻被中出中文字幕久久| 久久久久久久亚洲精品| 国产亚州精品女人久久久久久 | 久久久久国产| 精品久久777| 国产精品无码久久综合| 亚洲中文字幕久久精品无码APP| 久久人人爽人人爽人人片AV东京热 | 亚洲国产精品无码久久久蜜芽| 91久久九九无码成人网站| 三上悠亚久久精品| 久久综合综合久久综合| 亚洲国产另类久久久精品| 97精品国产97久久久久久免费| 久久精品国产日本波多野结衣| 久久99热这里只频精品6| 亚洲精品成人网久久久久久| 亚洲欧美国产日韩综合久久|