• <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年5月>
            27282930123
            45678910
            11121314151617
            18192021222324
            25262728293031
            1234567

            常用鏈接

            留言簿(1)

            隨筆分類

            隨筆檔案

            相冊(cè)

            News

            Program

            搜索

            •  

            最新評(píng)論

            閱讀排行榜

            評(píng)論排行榜

                     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 陳振輝 閱讀(902) 評(píng)論(3)  編輯 收藏 引用 所屬分類: MFC

            FeedBack:
            # re: Destroy modeless dialog box 2008-08-10 23:28 企業(yè)即時(shí)通訊
            說什么來了?我怎么銷毀呢?New 了之后?。  回復(fù)  更多評(píng)論
              
            # re: Destroy modeless dialog box 2008-08-10 23:32 企業(yè)即時(shí)通訊
            看第二遍終于明白了。  回復(fù)  更多評(píng)論
              
            # 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.
              回復(fù)  更多評(píng)論
              

            只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。
            相關(guān)文章:
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


            久久精品国产亚洲一区二区三区| 亚洲欧美另类日本久久国产真实乱对白 | 亚洲AV无码久久精品成人| 精品综合久久久久久97| 久久99精品久久久久久| 久久久WWW成人免费精品| 伊人久久大香线蕉成人| 精品久久久久中文字幕日本| 88久久精品无码一区二区毛片 | 久久精品中文闷骚内射| 久久久综合香蕉尹人综合网| 久久精品99久久香蕉国产色戒| 久久最新精品国产| 久久久久亚洲av综合波多野结衣| 青青国产成人久久91网| 中文字幕热久久久久久久| 国产精品热久久无码av| 国产Av激情久久无码天堂| 久久人人爽人爽人人爽av| a级成人毛片久久| 亚洲精品乱码久久久久66| 日本高清无卡码一区二区久久| 国产精品免费看久久久| 亚洲中文字幕无码久久2017| 久久综合色之久久综合| 久久久久久毛片免费看| 久久免费精品视频| 69久久精品无码一区二区| 久久久无码精品亚洲日韩按摩 | 久久精品国产乱子伦| 久久久中文字幕日本| 久久精品亚洲欧美日韩久久| 91久久精品电影| 岛国搬运www久久| 天天爽天天爽天天片a久久网| 欧美一区二区三区久久综| 亚洲精品美女久久777777| 久久久久AV综合网成人| 99久久无色码中文字幕| 国产成人久久精品二区三区| 国产精品永久久久久久久久久 |