• <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
            <2011年8月>
            31123456
            78910111213
            14151617181920
            21222324252627
            28293031123
            45678910

            常用鏈接

            留言簿(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无码去区首| 久久久久久国产精品无码下载| 无码人妻精品一区二区三区久久 | 2021最新久久久视精品爱| 午夜视频久久久久一区| 亚洲欧美伊人久久综合一区二区 | 99久久久精品| 国产精自产拍久久久久久蜜| 久久亚洲精品国产亚洲老地址 | 思思久久99热只有频精品66| 成人午夜精品无码区久久| 国产产无码乱码精品久久鸭| 欧美久久亚洲精品| 99精品国产在热久久无毒不卡| 91麻豆精品国产91久久久久久| 久久久久av无码免费网| 大伊人青草狠狠久久| 国产精品久久久久久久app| 精品久久久久久中文字幕| 久久伊人五月丁香狠狠色| 欧美精品一本久久男人的天堂| 色天使久久综合网天天| 久久er国产精品免费观看8| 精品久久一区二区三区| 777午夜精品久久av蜜臀| 超级碰久久免费公开视频| 久久精品麻豆日日躁夜夜躁| 亚洲精品高清一二区久久| 国产激情久久久久影院小草| 久久久久成人精品无码中文字幕| 无码国内精品久久综合88| 亚洲国产成人久久一区WWW| 国产日韩久久久精品影院首页 | 欧美激情精品久久久久久久| 91久久精品国产91性色也| 久久精品国产亚洲77777| 中文字幕乱码久久午夜| 97久久国产综合精品女不卡| 国产亚洲精品久久久久秋霞| 久久精品国产亚洲AV不卡| av色综合久久天堂av色综合在|