Urgent ! Need Advices On Windows Programming !

This is a discussion on Urgent ! Need Advices On Windows Programming ! within the Windows Programming forums, part of the Platform Specific Boards category; Good day ! Need couple of advices here. I have learned C and C++ for quite sometimes and able to ...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    13

    Question Urgent ! Need Advices On Windows Programming !

    Good day !

    Need couple of advices here. I have learned C and C++ for quite sometimes and able to use them to create easy application in DOS.

    But I wonder how am I able to implement GUI using C++ ?

    Is there any easy-to-understand library that allows me to do simple GUI such as loading bitmap, using button etc ?

    I have tried to study through the MFC & GLUT & GLOW class but it's too hard for me to cope with them within a short time.

    I need something that I can implement them straight away because I am in urgent to complete a project that require me to implement GUI using C++

    Is there any recommendation ?

    Thanks a lot !

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Programming for Windows requires you to programme in a different way from DOS/Console, and rarely is the transition a quick one. The native 'library' is the Win32 API. This has facilities for painting bitmaps and buttons.

    I would always recomend someone learn how to program using the API before they begin playing with things like MFC.

    There are a couple of API based tutorials linked in the FAQ, a well worded search with google will reveal many others. Charles Petzolds book "Programming Windows" fifth edition is the currently most recomended book, although Herbert Schildt's books, (the xxx from the Ground Up series), are also good.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Win programming is a big subject. Read the first few chapters of Petzold and you will see that the transition is not a simple one. One book I read recommended 6 months - but this varies person to person

  4. #4
    Registered User
    Join Date
    Sep 2001
    Posts
    13

    Unhappy Then What Should I Do ?

    Then what I should I do ?

    The project that I was asked to do, basically I have finished the algorithm for the whole project (MS-DOS Program of cauz ) and it works well.

    Now problem arise when I wanna show the result using GUI.

    For example, when a function returns a value of true, the interface will load a Bitmap image and keep looping and when is false it will loads another Bitmap image on specified location.

    Is there any online tutorial that I can refer ?

    Thanks a lot !

  5. #5
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Check this out....

    Sunlight

    This was written by an old mod of this board who hasn't been around for a while...or has he?

  6. #6
    Xterria
    Guest

    Talking

    Wee...I just created a windows app where it says the aol 'welcome' then a few seconds later it tell you 'youve got mail' then you wife comes and and tells you about how little bobby barfed and how they had a fun time. I also made me own icon and curser! it also plays Doom's .MUS files using DirectX! and I just turned 12...no joke! Windows Progamming is easy just if you read the right book. I'm reading a book called 'Tricks of the Windows Game Programming Gurus' By Andre Lamothe. It does about 2 chapters on windows programming then you're pretty close to mastering Standard Windows Programming. the you're on to DirectX...I made a game where if you stand on a mine this guy starts crying then everyone dies. I hope I'm making sence. oh yeah...I like when you program in windows when you say win32 is lean and mean...SO SAY NO TO MFC! ahahahahahhaaahahhahahahaahahahah....huff...hufff. .. >:-(

  7. #7
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230


    wheeee, smiley's!!!

    Ok, I'm good now...

    I doubt that tricks of the game programmers sets you up perfecty with winAPI. Can you do most of the common controls? I say get Petzold's...and maybe a book with common controls, since his chapter on that isn't as great as it should be.....

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Anyone using Windows 7?
    By Sharke in forum General Discussions
    Replies: 60
    Last Post: 07-12-2009, 09:05 AM
  2. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 08:14 AM
  3. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 01:19 AM
  4. Dos differences in Windows NT and Windows XP
    By Ruchikar in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 09-18-2003, 12:36 AM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 06:31 PM

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