Thread: Getting started in Win32, and need help please

  1. #1
    Registered User Finchie_88's Avatar
    Join Date
    Aug 2004
    Posts
    154

    Question Getting started in Win32, and need help please

    Ive started on Win32 programming, but nee help, I know how the OS deals with messages using the message handler, and i understand hungarian notation, but i cant make multiple "objects" appear in the same window, i want to try and make a basic tetris game in C++, but i cant make things like buttons work, any ideas???

  2. #2
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970
    but i cant make things like buttons work, any ideas???
    Buttons and other controls are created with CreateWindow(Ex). If your button does not show up after using this function, please post the code and someone on the board will try to help.

    want to try and make a basic tetris game in C++
    Tetris in an Hour

  3. #3
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    You should really use a resource editor to place buttons and stuff on a dialog. It makes it a lot easier. Some compilers come with their own resource editors, but you can also find free ones on the internet.

  4. #4
    Registered User Rare177's Avatar
    Join Date
    May 2004
    Posts
    214
    if you want a nice book on learning the win32 api i would suggest the charles petzold book, programming windows 5th edition.

    if you have some extra $$$ then its worth the money

  5. #5
    jasondoucette.com JasonD's Avatar
    Join Date
    Mar 2003
    Posts
    278
    Quote Originally Posted by Rare177
    if you want a nice book on learning the win32 api i would suggest the charles petzold book, programming windows 5th edition.

    if you have some extra $$$ then its worth the money
    I agree. It is highly recommended, and worth every penny.

Popular pages Recent additions subscribe to a feed