• <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.
              回復  更多評論
              
            久久国产成人精品国产成人亚洲| 亚洲AV无码久久| 久久久久久免费一区二区三区| 久久成人精品视频| 精品国产热久久久福利| 国产A级毛片久久久精品毛片| 久久99国产综合精品| 久久人人爽人人爽AV片| 亚洲国产精品无码久久久久久曰| 色8久久人人97超碰香蕉987| 久久久久久国产精品无码下载| 精品熟女少妇AV免费久久| 久久综合狠狠综合久久激情 | 亚洲国产成人精品女人久久久 | 久久性生大片免费观看性| 中文无码久久精品| 久久最新免费视频| 丁香五月网久久综合| 97精品伊人久久久大香线蕉| 久久精品18| 国产精品无码久久四虎| 九九久久自然熟的香蕉图片| 2021国产精品午夜久久| 久久男人AV资源网站| 国产AV影片久久久久久| 久久99国产精品尤物| 五月丁香综合激情六月久久| 香蕉99久久国产综合精品宅男自 | 欧美激情精品久久久久久久九九九| 国产99精品久久| 久久国产免费观看精品3| 久久精品成人欧美大片| 日产精品久久久久久久| 麻豆精品久久久久久久99蜜桃| 亚洲国产成人久久综合野外| 久久免费国产精品| 开心久久婷婷综合中文字幕| 色99久久久久高潮综合影院| 久久国产热这里只有精品| 国产精品成人久久久久久久| 狠狠色综合久久久久尤物|