a real beginner in Visual C++.net - Q about dialog problem

This is a discussion on a real beginner in Visual C++.net - Q about dialog problem within the Windows Programming forums, part of the Platform Specific Boards category; Hey everybody! I'm new in here, and I just started with visual C++.net . I don't really have much of ...

  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    8

    a real beginner in Visual C++.net - Q about dialog problem

    Hey everybody!

    I'm new in here, and I just started with visual C++.net .
    I don't really have much of experience with C/C++ so go easy on me, okay? thanks! :-)

    just a little question, (btw, I wrote everything in the MFC Classes)
    I created a dialog box (CDialog), and over there I created a button that opens a new dialog that I created (CNewDialog).

    evertything works fine, and all the stuff that I work that these dialogs should do is working great, but the thing is that after I compile the project and I click on the button to open CNewDialog, the Dialog looks weird...!

    I draw the dialog normally, and in visual it looks great, but when I run it, it has on the background that "TODO:....." static message, and the OK and Cancel buttons, just like the default dialog when you create a new project.

    I really don't understand why it happens, or how to get rid of this! PLEASE HELP!!!



    Thanks!!!

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    You need to edit the CNewDialog resource in the resource editor, so that it looks the way you want it. In the resource editor, you should be able to see both dialog windows.

  3. #3
    Registered User
    Join Date
    Feb 2005
    Posts
    8
    do you mean the "resource view"?

    when I open CNewDialog from the resource view it look normal, without any problem, but ONLY when I run the program I'm seeing with bugs.

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 07:13 PM
  2. a real beginner in Visual C++.net - Q about dialog problem
    By Green Fuze in forum C++ Programming
    Replies: 4
    Last Post: 03-01-2005, 04:21 AM
  3. question about .net to 6.0 change causing errors
    By jverkoey in forum C++ Programming
    Replies: 17
    Last Post: 03-23-2004, 09:45 AM
  4. pointer to array of objects of struct
    By undisputed007 in forum C++ Programming
    Replies: 12
    Last Post: 03-02-2004, 03:49 AM
  5. Programming Puns
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 44
    Last Post: 03-23-2002, 03:38 PM

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