Dialog Classes

This is a discussion on Dialog Classes within the Windows Programming forums, part of the Platform Specific Boards category; Hi, Using VC6... I have created a new dialog. When in dialog editing view, i opened class wizard. It said ...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    34

    Question Dialog Classes

    Hi,
    Using VC6...

    I have created a new dialog.

    When in dialog editing view, i opened class wizard. It said something like "you dont have a class assoiated with this resource... create class, add to existing class"

    I choose add to existing.

    How do i undo this and add it to a different class instead?

    joe
    #

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    The classwizard is in the resource editor is for MFC....it assumed you will be deriving a dialog from CDialog (an MFC class), therefore it can assume a lot.....if you want to create your own class without MFC, go to Insert->new class and build it from there....

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    34
    i already have a class for the dialog, but the class didnt show up in the list.

    now, i cant display the dialog because it belongs to the wrong class.


    joe
    #

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 02-13-2008, 01:59 PM
  2. Splitting a dialog up into multiple classes
    By Just in forum Windows Programming
    Replies: 1
    Last Post: 05-29-2005, 11:11 PM
  3. make Child Dialog not Popup?
    By Zeusbwr in forum Windows Programming
    Replies: 5
    Last Post: 04-08-2005, 02:42 PM
  4. Getting the position of a dialog without parent on the screen
    By stormbringer in forum Windows Programming
    Replies: 1
    Last Post: 08-27-2003, 02:59 AM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM

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