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

  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,268
    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

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, 08: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, 05: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, 10:45 AM
  4. pointer to array of objects of struct
    By undisputed007 in forum C++ Programming
    Replies: 12
    Last Post: 03-02-2004, 04:49 AM
  5. Programming Puns
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 44
    Last Post: 03-23-2002, 04:38 PM