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

tab control

Scheduled Pinned Locked Moved C / C++ / MFC
question
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.
  • D Offline
    D Offline
    Desmo16
    wrote on last edited by
    #1

    Hi all, I'm writing an application to model the effects of different volcanic sources. For every source i put in a dialog box a combo box to select the kind of source and all the control to set the parameters of every kind of source. Selecting the kind of source in the combo box only the meaningful controls for that kind of source are enabled. Acting like that my dialog box takes too much space on the screen, so i need to split the different kinds of source in a tab control. Can i do that without rewriting too much code ? Is there a way to know which tab is selected ? Sorry for the question but i'm a newbie. Thanx in advance, Demsmo16.

    S 1 Reply Last reply
    0
    • D Desmo16

      Hi all, I'm writing an application to model the effects of different volcanic sources. For every source i put in a dialog box a combo box to select the kind of source and all the control to set the parameters of every kind of source. Selecting the kind of source in the combo box only the meaningful controls for that kind of source are enabled. Acting like that my dialog box takes too much space on the screen, so i need to split the different kinds of source in a tab control. Can i do that without rewriting too much code ? Is there a way to know which tab is selected ? Sorry for the question but i'm a newbie. Thanx in advance, Demsmo16.

      S Offline
      S Offline
      softwaremonkey
      wrote on last edited by
      #2

      Hi, You should think about using CPropertyPage and CPropertySheets. Converting from existing dialog resources is quite simple, and theres a good article regarding this on MSDN called Converting Large Dialogs into Property Sheets. Just search for that in Yahoo and you will find the article. Good Luck :)

      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