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. Implementing a custom Dialogbox

Implementing a custom Dialogbox

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestionlearning
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.
  • K Offline
    K Offline
    Kamal Shankar
    wrote on last edited by
    #1

    Hello all, I am trying to assign a Dialogbox resource to a custom dialogbox class... specifically Anna Meltcafe's CNGWizard (Resizable Wizard) To be very specific, I have to make my PropertySheet belong to CNGWizard class and PropertyPages to CNGWizardPage class. The problem is, I cannot locate CNGWizard nor CNGWizardPage in ClassWizard under MFC ClassWizard as the base class of the dialog. It shows me CPropertyPage just fine, but does not have CPropertyPageEx ! I thought the .clw files had got corrupted again and rebuilt it, but CNGWizardPage nor CNGWizard appears in the controls list of the ClassWizard's "New Class" dialog... I admit to never trying to use custom dialogbox classes before - but I have used custom controls a lot and custom control classnames showup in the ClassWizard just fine ? I am using Visual C++ 6.0, SP5 -- modified at 22:03 Tuesday 25th July, 2006

    S 1 Reply Last reply
    0
    • K Kamal Shankar

      Hello all, I am trying to assign a Dialogbox resource to a custom dialogbox class... specifically Anna Meltcafe's CNGWizard (Resizable Wizard) To be very specific, I have to make my PropertySheet belong to CNGWizard class and PropertyPages to CNGWizardPage class. The problem is, I cannot locate CNGWizard nor CNGWizardPage in ClassWizard under MFC ClassWizard as the base class of the dialog. It shows me CPropertyPage just fine, but does not have CPropertyPageEx ! I thought the .clw files had got corrupted again and rebuilt it, but CNGWizardPage nor CNGWizard appears in the controls list of the ClassWizard's "New Class" dialog... I admit to never trying to use custom dialogbox classes before - but I have used custom controls a lot and custom control classnames showup in the ClassWizard just fine ? I am using Visual C++ 6.0, SP5 -- modified at 22:03 Tuesday 25th July, 2006

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

      As far as i can tell only the MFC base classes are listed in the wizard. just derive the dialog from CDialog, include the cngwizard header, and change the "class classname: public CDialog {" to "class classname: public CNGWizard {" i have only ever replaced CDialog with base classes derived from CDialog.

      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