• <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年4月>
            303112345
            6789101112
            13141516171819
            20212223242526
            27282930123
            45678910

            常用鏈接

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

            FeedBack:
            # re: Destroy modeless dialog box 2008-08-10 23:28 企業(yè)即時(shí)通訊
            說(shuō)什么來(lái)了?我怎么銷毀呢?New 了之后?。  回復(fù)  更多評(píng)論
              
            # re: Destroy modeless dialog box 2008-08-10 23:32 企業(yè)即時(shí)通訊
            看第二遍終于明白了。  回復(fù)  更多評(píng)論
              
            # re: Destroy modeless dialog box[未登錄](méi) 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   博問(wèn)   Chat2DB   管理


            99久久精品国产麻豆| 久久精品卫校国产小美女| 久久亚洲欧美日本精品| 精品无码久久久久久久动漫| 污污内射久久一区二区欧美日韩 | 奇米综合四色77777久久| 99久久精品日本一区二区免费| 久久久久97国产精华液好用吗| 亚洲国产天堂久久综合| 久久国产精品77777| 色婷婷久久久SWAG精品| 国产精品久久网| 一本色综合网久久| 青青草原综合久久大伊人导航 | 久久天天躁狠狠躁夜夜avapp| 国内精品久久久久久久久电影网| 久久天天躁夜夜躁狠狠| 国产精品九九久久免费视频 | 久久精品国产亚洲AV无码娇色| 久久www免费人成看国产片| 日韩人妻无码精品久久免费一| 久久久久99精品成人片| 草草久久久无码国产专区| 久久精品亚洲中文字幕无码麻豆| 狠狠色丁香久久婷婷综合图片| 国产精品成人99久久久久 | 人妻少妇久久中文字幕一区二区 | 欧美日韩精品久久久久| 国产精品久久久久乳精品爆| 国产精品久久久久…| 久久亚洲精品成人AV| 欧美丰满熟妇BBB久久久| 国产精品久久久久久久人人看| 午夜精品久久影院蜜桃| 亚洲AⅤ优女AV综合久久久| 精品久久久久中文字| 天天综合久久一二三区| 久久成人国产精品免费软件| 少妇久久久久久被弄高潮| 国产精品久久波多野结衣| 91性高湖久久久久|