Thread: Window Program

  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    11

    Window Program

    I've been searching google and can't seem to find any decent site with a program that shows how to make a window.

    Anyone have any suggestions on where I can go?

    I know it isn't a simple thing but should still be some what common O.o?


    Trying to figure out how to write a program that doesn't bring up the black screen and instead gives me a window with drop menus at the top. File, Options, Help, About ..stuff like that. Explanations would be awesome but I would just settle for templates if some site has them.

  2. #2
    Programming King Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Middle of NoWhere
    Posts
    320
    Try using OPENGL API for C++. Study that....

  3. #3
    Registered User
    Join Date
    Aug 2010
    Location
    Poland
    Posts
    733
    I wouldn't start with OpenGL to make a GUI.

    http://en.wikipedia.org/wiki/Qt_(framework)
    wxWidgets

  4. #4
    Programming King Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Middle of NoWhere
    Posts
    320
    Are these for web GUI?

  5. #5
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    OpenGL is not for standard desktop applications!
    And these frameworks are general-purpose GUI desktop frameworks. Although it wouldn't surprise me if they can be tailored for something else, too.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #6
    Registered User
    Join Date
    Mar 2011
    Posts
    53
    try the forgers win32 tutorial:

    theForger's Win32 API Tutorial

    it overs most of the basics.

  7. #7
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Don't use Win32! Use a good framework such as those already mentioned.
    It's easier, and more portable.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. c program that accepts and executes commands?
    By Cimposter in forum C Programming
    Replies: 3
    Last Post: 09-30-2009, 02:58 PM
  2. Replies: 2
    Last Post: 09-16-2009, 06:00 AM
  3. Simple window program
    By baniakjr in forum C++ Programming
    Replies: 5
    Last Post: 03-11-2006, 03:46 PM
  4. Why only 32x32? (OpenGL) [Please help]
    By Queatrix in forum Game Programming
    Replies: 2
    Last Post: 01-23-2006, 02:39 PM
  5. dont want to use all params
    By stallion in forum Windows Programming
    Replies: 2
    Last Post: 02-18-2003, 08:10 AM