• <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   管理


            日本WV一本一道久久香蕉| 精品久久久久久无码人妻蜜桃| 亚洲国产精品无码久久一区二区 | 狠狠综合久久综合中文88| 久久噜噜久久久精品66| 久久久噜噜噜久久中文福利| 精品无码久久久久久国产| 午夜久久久久久禁播电影| 精品久久久久一区二区三区 | 深夜久久AAAAA级毛片免费看| 久久综合狠狠综合久久| 久久久久久av无码免费看大片| 国产亚洲精久久久久久无码77777| 69久久夜色精品国产69| 亚洲国产精品久久久天堂| 国产精品久久新婚兰兰| 久久影视综合亚洲| 精品国产一区二区三区久久蜜臀| 久久香蕉超碰97国产精品 | 日韩电影久久久被窝网| 狠狠久久综合| 久久国产成人午夜AV影院| 2021久久精品国产99国产精品| 77777亚洲午夜久久多人| 久久久久久国产a免费观看黄色大片| 久久国产精品成人免费| 成人国内精品久久久久影院| 国内精品人妻无码久久久影院| 人妻丰满AV无码久久不卡| 亚洲国产精品无码久久久秋霞2| 久久只这里是精品66| 久久大香萑太香蕉av| 久久久无码精品亚洲日韩京东传媒 | 国产亚州精品女人久久久久久 | 亚洲美日韩Av中文字幕无码久久久妻妇| 国产精品免费久久| 久久精品国产一区二区三区不卡| 国产高潮久久免费观看| 精品久久久久久无码国产| 色婷婷久久久SWAG精品| 国内精品九九久久精品 |