Resource Editor

This is a discussion on Resource Editor within the Windows Programming forums, part of the Platform Specific Boards category; Ok I'm a total newb, heres my question. I whant to make it so when I make a dialog using ...

  1. #1
    Unregistered
    Guest

    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
    Posts
    469
    Do you want a main window?

  3. #3
    Unregistered
    Guest

    Post

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

  4. #4
    Registered User
    Join Date
    Jan 2002
    Posts
    387
    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
    Location
    near a computer
    Posts
    3,859
    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, 01:49 PM
  4. resource editor
    By bart in forum Windows Programming
    Replies: 5
    Last Post: 02-02-2002, 11:14 AM
  5. resource editor....eh?
    By agerealm in forum Windows Programming
    Replies: 3
    Last Post: 08-18-2001, 02:38 AM

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