Thread: Adding MFC dialogs in VS .NET 2003

  1. #1
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709

    Adding MFC dialogs in VS .NET 2003

    I've decided to give in and learn MFC but I need some help. It's not help understanding anything, just when I've added a new dialog resource I go to create a new class for it (Project->Add Class...). I choose MFC Class and fill out the form as you'd expect - deriving from CDialog leaving everything else as-is (named it MyDlg) but when I click OK I get a message box pop up saying "Object Required" and the class isn't created.

    If nobody knows what the hell is going on could you instead post up a sample class derived from CDialog as it would appear if I could use the wizard to create it.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  2. #2
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Well I managed to whack together a CDialog - derived class without too much trouble, but I still want to know what someone else thinks about the problem.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows, MFC, .NET, C++ ???
    By alpha in forum Windows Programming
    Replies: 8
    Last Post: 08-07-2006, 02:31 PM
  2. VC++ 6.0 vs .NET 2003
    By Frantic- in forum C++ Programming
    Replies: 4
    Last Post: 06-26-2005, 08:41 AM
  3. Visual C++ .NET 2003 and XP Style
    By kuphryn in forum Windows Programming
    Replies: 1
    Last Post: 10-07-2003, 11:08 AM
  4. WIndows programming?
    By hostensteffa in forum Windows Programming
    Replies: 7
    Last Post: 06-07-2002, 08:52 PM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM