Thread: Win32 programming, help please...

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

    Question Win32 programming, help please...

    Ive been reading bout Win32 programming, and i understand the way that the message handler works, hungarian notation and how MS deals with events, but i need help in understanding the basics of how multiple items are displayed in the same widow. For example, a button and a menu etc...

  2. #2
    Cheesy Poofs! PJYelton's Avatar
    Join Date
    Sep 2002
    The board has a Windows programming section, you're better off asking there.

  3. #3
    Hardware Engineer
    Join Date
    Sep 2001
    These are resources. You can manually write a resource script, or use your compiler's tools to add resources to your program/project.

    Windows (somehow) knows when you click on one of these, and sends the appropriate message to your Windows processing-loop.

    You can put your own text and graphics in your window. Your program can keep track of the X, Y location of the objects in the Window. And, when you click the mouse, the mouse-click message includes the X, Y location of the mouse pointer. Then you program can determine if the user clicked-on one of these objects.

    EDIT] -
    If you really want to learn Windows programming, get a copy of Programming Windows, by Charles Petzold. Almost all Windows programmers own a copy of this book.
    Last edited by DougDbug; 10-05-2004 at 04:34 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Console program to Win32
    By Ducky in forum Windows Programming
    Replies: 3
    Last Post: 02-25-2008, 12:46 PM
  2. Win32 API or Win32 SDK?
    By jverkoey in forum A Brief History of
    Replies: 2
    Last Post: 07-20-2005, 03:26 PM
  3. OLE Clipboard :: Win32 API vs. MFC
    By kuphryn in forum Windows Programming
    Replies: 3
    Last Post: 08-11-2002, 05:57 PM
  4. Thread Synchronization :: Win32 API vs. MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 08-09-2002, 09:09 AM
  5. Win32 API Tutorials?
    By c++_n00b in forum C++ Programming
    Replies: 9
    Last Post: 05-09-2002, 03:51 PM