Close Dialog Box in MFC

Discussion in 'MFC' started by cb02061, Jun 18, 2008.

  1. cb02061

    cb02061 New Member

    Joined:
    Apr 30, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Hi,

    I have been created a tab control in dialog box (we called as Dialog Main). I add 3 frameless dialog box (we called as dialog A, Dialog B, Dialog C) in the tab control. The tab control working fine. I add three button (OK button, Cancel button ,Apply Button) in each frameless dialog box. However, when I clicked Cancel button in dialog A only dialog was closed. I want all dialogs(Dialog Main, dialog A, Dialog B, Dialog C) to be closed when I clicked OK of Cancel button inside each frameless dialog box(dialog A, Dialog B, Dialog C). I’m calling dialog(Dialog Main) from SDI . Please anybody help me???
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice