• <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)

            隨筆分類

            隨筆檔案

            相冊

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

            FeedBack:
            # re: Destroy modeless dialog box 2008-08-10 23:28 企業(yè)即時通訊
            說什么來了?我怎么銷毀呢?New 了之后?。  回復  更多評論
              
            # re: Destroy modeless dialog box 2008-08-10 23:32 企業(yè)即時通訊
            看第二遍終于明白了。  回復  更多評論
              
            # 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无码专区| 国产精品久久久久久久app| 无码任你躁久久久久久老妇| 久久精品视频一| 国产亚洲精品自在久久| a级毛片无码兔费真人久久| 久久久久亚洲av成人网人人软件| 久久人人爽人人爽人人爽| 国产亚洲婷婷香蕉久久精品| 99热精品久久只有精品| 人妻无码中文久久久久专区| 欧美粉嫩小泬久久久久久久| 亚洲va久久久噜噜噜久久狠狠| 婷婷国产天堂久久综合五月| 亚洲国产精品一区二区久久| 色8久久人人97超碰香蕉987| 久久久一本精品99久久精品88| 国産精品久久久久久久| 国产精品99久久久久久猫咪| 国产精品对白刺激久久久| 久久人人爽人人人人爽AV| 久久精品国产2020| 漂亮人妻被黑人久久精品| 7777精品伊人久久久大香线蕉| 亚洲伊人久久综合影院| 欧美黑人激情性久久| 久久久久久国产精品无码下载 | 亚洲第一极品精品无码久久| 婷婷伊人久久大香线蕉AV| 精品久久久久久久久午夜福利| 99精品久久精品| 久久久WWW成人| 久久精品午夜一区二区福利| 蜜臀久久99精品久久久久久小说| 亚洲AV无码1区2区久久| 日韩精品久久久久久| 国内精品久久久久影院亚洲| 久久精品aⅴ无码中文字字幕不卡| 国内精品久久久久久99蜜桃|