• <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.
              回復  更多評論
              
            蜜桃麻豆WWW久久囤产精品| 久久久久久无码Av成人影院| 久久精品国产只有精品2020| 亚洲欧美精品伊人久久| 久久久久国产视频电影| 武侠古典久久婷婷狼人伊人| 久久偷看各类wc女厕嘘嘘| 精品人妻伦九区久久AAA片69| 久久久久久久波多野结衣高潮| 日本强好片久久久久久AAA| 久久99久久无码毛片一区二区| 久久人人爽人人爽人人爽 | 午夜精品久久久久久久无码| 色妞色综合久久夜夜| 久久99久久无码毛片一区二区| 色狠狠久久AV五月综合| 婷婷久久综合| 热久久国产精品| 99久久精品国产高清一区二区| 久久久久av无码免费网| 久久婷婷色综合一区二区| 国内精品久久国产大陆| 久久亚洲欧美国产精品| 久久综合亚洲色HEZYO社区 | 欧美日韩精品久久久久| 久久精品嫩草影院| 久久久久亚洲av无码专区喷水| 伊人久久一区二区三区无码| 久久亚洲国产精品五月天婷| 88久久精品无码一区二区毛片| 97r久久精品国产99国产精| 久久婷婷五月综合色奶水99啪| 中文字幕精品无码久久久久久3D日动漫 | 久久久久人妻一区精品色| 久久精品国产99国产精品亚洲 | 精品99久久aaa一级毛片| 久久亚洲综合色一区二区三区| 精品一区二区久久| 日本福利片国产午夜久久| 国产精品热久久毛片| 精品久久久久久无码人妻蜜桃|