• <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
            <2025年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 陳振輝 閱讀(930) 評論(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久久久久| 日韩av无码久久精品免费| 国产精品久久久久久久久鸭 | 九九精品99久久久香蕉| 亚洲天堂久久精品| 久久精品国产亚洲αv忘忧草| 久久精品男人影院| 97久久婷婷五月综合色d啪蜜芽 | 亚洲精品国产成人99久久| 久久亚洲精品国产精品婷婷| 99久久免费只有精品国产| 欧美伊人久久大香线蕉综合 | 久久久久亚洲精品中文字幕| 午夜欧美精品久久久久久久| 国产精品成人久久久| 久久99精品国产99久久6| 久久亚洲国产中v天仙www| 久久久久人妻一区精品性色av| 99久久免费国产精品特黄| 久久影院亚洲一区| 国产伊人久久| 日本免费一区二区久久人人澡| 精品久久久无码21p发布| 亚洲午夜久久久| 免费一级欧美大片久久网| 久久精品国产一区二区三区不卡 | 久久中文精品无码中文字幕| 草草久久久无码国产专区| 色综合久久天天综合| 国产精品久久久久影视不卡| 精品久久久久久久久中文字幕| 国产精品久久网| 国产精品一区二区久久精品无码 | 亚洲精品无码久久久久| 久久久久亚洲AV无码专区首JN| 久久人做人爽一区二区三区| 久久综合鬼色88久久精品综合自在自线噜噜 | 99久久精品无码一区二区毛片| 国产精品九九久久免费视频|