Adding MFC dialogs in VS .NET 2003

This is a discussion on Adding MFC dialogs in VS .NET 2003 within the Windows Programming forums, part of the Platform Specific Boards category; I've decided to give in and learn MFC but I need some help. It's not help understanding anything, just when ...

  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, 03:31 PM
  2. VC++ 6.0 vs .NET 2003
    By Frantic- in forum C++ Programming
    Replies: 4
    Last Post: 06-26-2005, 09:41 AM
  3. Visual C++ .NET 2003 and XP Style
    By kuphryn in forum Windows Programming
    Replies: 1
    Last Post: 10-07-2003, 12:08 PM
  4. WIndows programming?
    By hostensteffa in forum Windows Programming
    Replies: 7
    Last Post: 06-07-2002, 09:52 PM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 03:41 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21