Thread: Vc6

  1. #1
    Registered User Moni's Avatar
    Join Date
    Oct 2002
    Location
    Dhaka, Bangladesh.
    Posts
    104

    Vc6

    Can anyone show me how to make form and buttons in Visual C++ ???

    I know basic C++ (Not windows programming!) and have tried in Visual Basic form, buttons etc.

    But I am not sure how this can be done in VC6 (I am using)
    We all are the components of a huge program...... the programmer is always debugging us with His debugger.

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    26
    Windows c++ programming is far different from Visual Basic. You will have to learn Win32 api along with c++. Designing the windows layout is difficult compared to Visual Basic.

  3. #3
    Registered User Moni's Avatar
    Join Date
    Oct 2002
    Location
    Dhaka, Bangladesh.
    Posts
    104
    Ok! But can you give me any good link to learn it
    We all are the components of a huge program...... the programmer is always debugging us with His debugger.

  4. #4
    jasondoucette.com JasonD's Avatar
    Join Date
    Mar 2003
    Posts
    278
    Here's a few links for you:

    theForger's Win32 API Tutorial
    Sunlight - Programming Windows Tutorials
    Reliable Software Win32 Tutorial
    Win32 Tutorial - Introduction to Win32

    You can find more on Google. Note that some of them teach the Win32 API in C, and some in C++ (using MFC). The Win32 API was programmed in C, so this is all you need to know to program in it. When you use C++, you are probably using MFC, which is just wrapper classes around the C code. In this case, it helps greatly to understand the basic Win32 API first. I highly recommend buying a book to learn the Win32 API, since these tutorials skip a lot of information and explanations. The classic is, of course, Programming Windows, 5th Edition by Charles Petzold.

  5. #5
    Registered User Moni's Avatar
    Join Date
    Oct 2002
    Location
    Dhaka, Bangladesh.
    Posts
    104
    Originally posted by JasonD
    Here's a few links for you:

    theForger's Win32 API Tutorial
    Sunlight - Programming Windows Tutorials
    Reliable Software Win32 Tutorial
    Win32 Tutorial - Introduction to Win32

    You can find more on Google. Note that some of them teach the Win32 API in C, and some in C++ (using MFC). The Win32 API was programmed in C, so this is all you need to know to program in it. When you use C++, you are probably using MFC, which is just wrapper classes around the C code. In this case, it helps greatly to understand the basic Win32 API first. I highly recommend buying a book to learn the Win32 API, since these tutorials skip a lot of information and explanations. The classic is, of course, Programming Windows, 5th Edition by Charles Petzold.
    Thanks! Jason! Thanks for your such pretty links!

    And I have bought a book of Ivor Horton's Begenning VC++ 6 it seems fine but very big volume
    We all are the components of a huge program...... the programmer is always debugging us with His debugger.

  6. #6
    jasondoucette.com JasonD's Avatar
    Join Date
    Mar 2003
    Posts
    278
    Originally posted by Moni
    Thanks! Jason! Thanks for your such pretty links!

    And I have bought a book of Ivor Horton's Begenning VC++ 6 it seems fine but very big volume
    You're welcome. I have Ivor Horton's book, as well, and I do not recommend it for learning Windows programming, as it skips over the Win32 API and jumps right into MFC. That is a no-no. You'll find yourself in problems, and with no understanding of the foundation on which MFC is built on, you will not be able to properly solve them. The first half of his book which deals with learning C++ is great, though - highly recommended for that. Just skip the second half, and buy Programming Windows, 5th Edition by Charles Petzold.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. (VC6 -> VC++ 2005 Express)WinMain overload error
    By Kurisu33 in forum Windows Programming
    Replies: 2
    Last Post: 08-25-2006, 12:27 PM
  2. using VC6 link VC7 static lib error
    By George2 in forum C++ Programming
    Replies: 5
    Last Post: 06-29-2006, 10:58 PM
  3. VC6 directories
    By Magos in forum Tech Board
    Replies: 0
    Last Post: 03-11-2005, 05:52 PM
  4. boost::serialization + vc6
    By Koyaanisqatsi in forum C++ Programming
    Replies: 1
    Last Post: 12-01-2004, 05:43 PM
  5. gcc compared to VC6
    By moemen ahmed in forum Linux Programming
    Replies: 1
    Last Post: 07-07-2002, 01:58 AM