Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to get started in win32 api

How to get started in win32 api

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++jsontutoriallearning
7 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    freeheap
    wrote on last edited by
    #1

    Hi, after programming in c++ for some time, I've decided to start to code in windows environment. The question is, should I read code until I fully understand windows internals or should I start to make my own programs and learn on the fly? I've read Petzold's book but it seems to me that it its not enough to make my own app.

    M S N H D 6 Replies Last reply
    0
    • F freeheap

      Hi, after programming in c++ for some time, I've decided to start to code in windows environment. The question is, should I read code until I fully understand windows internals or should I start to make my own programs and learn on the fly? I've read Petzold's book but it seems to me that it its not enough to make my own app.

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      freeheap wrote:

      I've read Petzold's book but it seems to me that it its not enough to make my own app.

      Do you mean "Programming Windows 5th Edition"?  If so... If you have read and understand everything in that book then you should have the fundamentals every Windows programmer should know. It's also the core fundamentals of MFC (and any other framework which wraps the Win32 APIs). If you intend to write GUI applications and you haven't programmed for an event/message-driven OS like Windows, then that's probably the most important concept to understand from the book. I would recommend starting with a Visual Studio generated Win32 application. Look at the code produced by the wizard and make sure you understand everything that's there. From there you have a basic shell of an application that you can modify and extend as you learn new APIs. Just my 2 cents. Have fun! Mark

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      1 Reply Last reply
      0
      • F freeheap

        Hi, after programming in c++ for some time, I've decided to start to code in windows environment. The question is, should I read code until I fully understand windows internals or should I start to make my own programs and learn on the fly? I've read Petzold's book but it seems to me that it its not enough to make my own app.

        S Offline
        S Offline
        Stephen Hewitt
        wrote on last edited by
        #3

        I would suggest a blend of both approaches.

        Steve

        1 Reply Last reply
        0
        • F freeheap

          Hi, after programming in c++ for some time, I've decided to start to code in windows environment. The question is, should I read code until I fully understand windows internals or should I start to make my own programs and learn on the fly? I've read Petzold's book but it seems to me that it its not enough to make my own app.

          N Offline
          N Offline
          Nishad S
          wrote on last edited by
          #4

          My approch was doing something, then study... ;)

          - NS -

          1 Reply Last reply
          0
          • F freeheap

            Hi, after programming in c++ for some time, I've decided to start to code in windows environment. The question is, should I read code until I fully understand windows internals or should I start to make my own programs and learn on the fly? I've read Petzold's book but it seems to me that it its not enough to make my own app.

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #5

            I suggest for start see create a simple dialog.

            1 Reply Last reply
            0
            • F freeheap

              Hi, after programming in c++ for some time, I've decided to start to code in windows environment. The question is, should I read code until I fully understand windows internals or should I start to make my own programs and learn on the fly? I've read Petzold's book but it seems to me that it its not enough to make my own app.

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #6

              freeheap wrote:

              I've read Petzold's book but it seems to me that it its not enough to make my own app.

              His Windows books are more than enough. I started with his Windows v3.1 book.


              "A good athlete is the result of a good and worthy opponent." - David Crow

              "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

              1 Reply Last reply
              0
              • F freeheap

                Hi, after programming in c++ for some time, I've decided to start to code in windows environment. The question is, should I read code until I fully understand windows internals or should I start to make my own programs and learn on the fly? I've read Petzold's book but it seems to me that it its not enough to make my own app.

                J Offline
                J Offline
                Jeremy Falcon
                wrote on last edited by
                #7

                Are you planning on using MFC or not? If not, I can recommend this one (although I hear Petzold's is pretty good too)... Clickety[^]

                Jeremy Falcon Oatmeal, It's What's for Dinner.[^]

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups