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. Dialog controls not showing up on a child dialog

Dialog controls not showing up on a child dialog

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
4 Posts 3 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.
  • K Offline
    K Offline
    Kiran Satish
    wrote on last edited by
    #1

    I am rewriting an old application in VS2010 that was developed in vc++6.0. I am trying to keep the basic structure of the GUI the same which consists of a main Dialog in which I have multiple child dialogs. All the child dialogs except one are simple with no border, title bar or system menu. This works fine in VC++6.0, but on VS2010, none of the controls that I have in those child dialogs show up when I run the program. Am I missing something simple here that I am not aware of? thanks

    PKNT

    L G 2 Replies Last reply
    0
    • K Kiran Satish

      I am rewriting an old application in VS2010 that was developed in vc++6.0. I am trying to keep the basic structure of the GUI the same which consists of a main Dialog in which I have multiple child dialogs. All the child dialogs except one are simple with no border, title bar or system menu. This works fine in VC++6.0, but on VS2010, none of the controls that I have in those child dialogs show up when I run the program. Am I missing something simple here that I am not aware of? thanks

      PKNT

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Kiran Satish wrote:

      Am I missing something simple

      Yes, some more detail. Is this MFC or basic Win32? How are the dialogs created, how are they displayed? etc.

      K 1 Reply Last reply
      0
      • K Kiran Satish

        I am rewriting an old application in VS2010 that was developed in vc++6.0. I am trying to keep the basic structure of the GUI the same which consists of a main Dialog in which I have multiple child dialogs. All the child dialogs except one are simple with no border, title bar or system menu. This works fine in VC++6.0, but on VS2010, none of the controls that I have in those child dialogs show up when I run the program. Am I missing something simple here that I am not aware of? thanks

        PKNT

        G Offline
        G Offline
        Graham Breach
        wrote on last edited by
        #3

        Did you remember to include your dialog template resources in the build? The code will (probably) compile happily without them, but fail to initialize the dialog controls.

        1 Reply Last reply
        0
        • L Lost User

          Kiran Satish wrote:

          Am I missing something simple

          Yes, some more detail. Is this MFC or basic Win32? How are the dialogs created, how are they displayed? etc.

          K Offline
          K Offline
          Kiran Satish
          wrote on last edited by
          #4

          Its a MFC dialog based application. Main dialog is created when the application is created using "New Project" wizard and the child dialog is created by inserting a "Insert Dialog" in resource view and then adding dialog controls to it.

          PKNT

          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