Thread: windows GUI revisited

  1. #1
    Registered User Spectrum48k's Avatar
    Join Date
    May 2002
    Posts
    66

    Question windows GUI revisited

    first off thank you all for all the help on my previous post. all the GL info was very interesting. i didnt however explain properly my question and i think i misguided you guys a little bit. (dont get me wrong, i am hitting the bookstore for GL books) .
    when i write a small program to convert inches to millimeters in win2000, it runs in a DOS box. i wanted to know what people use to make it pop up like a window, with an empty box to enter the inch value, and a button named "convert" that will take that value,convert it and make it apear somewhere else. is this Visual C ? or could it also be made with C commands made to design a windows interface ?
    i am just curious. i wont be doing stuff like that now, so dont go out of your way on this. just a simple explanation will be more than enough..

    Thanx !!

  2. #2
    Registered User sean345's Avatar
    Join Date
    Mar 2002
    Posts
    346
    The DOS box is comes up because you are making a Console application. Changing a setting in your compiler to a Windows Application will now tell the compiler to make a windows program. Windows programs are much different then DOS and you cannot just change this option and hope your DOS program works. Their are several good tutorials if you want to learn about Windows programming or need a better explanation:
    http://www.winprog.org/tutorial/index.html
    and
    http://blacksun.box.sk/aztek/winprog...e=winprog.html

    A window can be made with any C compiler. You must use the header windows.h and you can also use a resource editor to make dialog windows (the tutorials cover this).

    Hope this answers your questions.

    - Sean
    If cities were built like software is built, the first woodpecker to come along would level civilization.
    Black Frog Studios

  3. #3
    Registered User Spectrum48k's Avatar
    Join Date
    May 2002
    Posts
    66

    win GUI

    it does ! thanx ...
    its alive... its ALIVE... ITS...AL...IIIVE !!!!!!!!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ gui for windows where to start
    By prixone in forum Windows Programming
    Replies: 2
    Last Post: 12-16-2006, 11:48 PM
  2. Windows GUI Preprocessing
    By Jaken Veina in forum Windows Programming
    Replies: 5
    Last Post: 07-22-2005, 01:22 PM
  3. Linux's GUI slower than windows'....
    By Nutshell in forum A Brief History of Cprogramming.com
    Replies: 34
    Last Post: 02-16-2002, 08:47 PM
  4. GUI Programming :: C++ Exclusive
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 01-25-2002, 03:22 PM
  5. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 08:03 PM