Thread: Resource Editor

  1. #1

    Post Resource Editor

    Ok I'm a total newb, heres my question. I whant to make it so when I make a dialog using the Resource editor i whant it to show up when i exute the programn instead of making my open dialog window you know what I mean? heres and example

    Open up MSVC++ 6.0 File >> new >> projects >> win32 app
    File Again >> New >> resource editor and I make my dialog window using RC now what do I script in the .cpp file to make it show up on the screen when i execute it!?

  2. #2
    . Driveway's Avatar
    Join Date
    May 2002
    Do you want a main window?

  3. #3


    I just whant the window that I made with the resource editor

  4. #4
    Registered User
    Join Date
    Jan 2002
    instead of:
    HWND hwnd = CreateWindowEx( .. );

    do this:
    HWND hwnd = DialogBox( .. );
    "There are three kinds of people in the world...
    Those that can count and those that can't."

  5. #5
    train spotter
    Join Date
    Aug 2001
    near a computer
    make sure to include the resource.h and script.rc in the project if you have made the dialog in the resource editor.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Resource Editor
    By Anglos in forum Windows Programming
    Replies: 0
    Last Post: 06-15-2005, 04:03 PM
  2. MinGW Studio Resource Editor
    By Vicious in forum Windows Programming
    Replies: 0
    Last Post: 09-11-2004, 07:49 PM
  3. whats this?you DONT need a resource editor!
    By DarkViper in forum Windows Programming
    Replies: 7
    Last Post: 11-21-2002, 02:49 PM
  4. resource editor
    By bart in forum Windows Programming
    Replies: 5
    Last Post: 02-02-2002, 12:14 PM
  5. resource
    By agerealm in forum Windows Programming
    Replies: 3
    Last Post: 08-18-2001, 02:38 AM