Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Tab control and Modal dialog box

Tab control and Modal dialog box

Scheduled Pinned Locked Moved C / C++ / MFC
help
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shir_k
    wrote on last edited by
    #1

    Hi, Main window has a tab control that holds two modeless dialogs(Two tab panes is created) and a button-> on clicking this a modal dialog opens. Issue: On opening the Modal dialog box (by clicking button) the main window is disabled and also i can't change the tab panes on clicking the tab control -> this is correct as modal dialog box should not allow other controls to work until it is not closed, but if i click on the controls inside the tab pane (modeless dialog which is opened on tab control during initialization) the modal dialog gets disabled and goes behind the tab pane which is creating problem. Thanks

    R 1 Reply Last reply
    0
    • S shir_k

      Hi, Main window has a tab control that holds two modeless dialogs(Two tab panes is created) and a button-> on clicking this a modal dialog opens. Issue: On opening the Modal dialog box (by clicking button) the main window is disabled and also i can't change the tab panes on clicking the tab control -> this is correct as modal dialog box should not allow other controls to work until it is not closed, but if i click on the controls inside the tab pane (modeless dialog which is opened on tab control during initialization) the modal dialog gets disabled and goes behind the tab pane which is creating problem. Thanks

      R Offline
      R Offline
      rrrado
      wrote on last edited by
      #2

      Do you have correct hierarchy of objects? Is tab child of main dialog, modeless dialogs children of tab?

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups