Monday, November 30, 2020

Windows Message research

Windows Message research

    Complete Message Queue list to print out

  1. List Of Windows Messages
  2. complelte list and need to have a copy

  3. TREK HOW TO BUILD A VISUAL C++ DISPLAY TUTORIAL
  4. a good demo from nasa.gov

  5. Libraries Documentation
  6. Good examples to jump start

  7. Messages and Commands
  8. QUE book:Special Edition Using Visual C++ 6

    Understanding Message Routing If there is one thing that sets Windows programming apart from other kinds of programming, it is messages. Most DOS programs, for example, relied on watching (sometimes called polling) possible sources of input like the keyboard or the mouse to await input from them. A program that wasn't polling the mouse would not react to mouse input. In contrast, everything that happens in a Windows program is mediated by messages. A message is a way for the operating system to tell an application that something has happened--for example, the user has typed, clicked, or moved the mouse, or the printer has become available. A window (and every screen element is a window) can also send a message to another window, and typically most windows react to messages by passing a slightly different message along to another window. MFC has made it much easier to deal with messages, but you must understand what is going on beneath the surface.

    Messages are all referred to by their names, though the operating system uses integers to refer to them. An enormous list of #define statements connects names to numbers and lets Windows programmers talk about WM_PAINT or WM_SIZE or whatever message they need to talk about. (The WM stands for Window Message.) An excerpt from that list is shown in Listing 3.1.

  9. Understanding the Message Loop
  10. Understanding the Message Loop Understanding the message loop and entire message sending structure of windows programs is essential in order to write anything but the most trivial programs. Now that we've tried out message handling a little, we should look a little deeper into the whole process, as things can get very confusing later on if you don't understand why things happen the way they do.

    What is a Message? A message is an integer value. If you look up in your header files (which is good and common practice when investigating the workings of API's) you can find things like:

  11. Getting Started
  12. note: compile that small example as test.c under /Subsystem:Windows. otherwise it won't work!

    If that doesn't work, your first step is to read whatever errors you get and if you don't understand them, look them up in the help or whatever documents accompany your compiler. Make sure you have specified a Win32 GUI (NOT "Console") project/makefile/target, whatever applies to your compiler. Unfortunately I can't help much with this part either, as errors and how to fix them vary from compiler to compiler (and person to person).

  13. Handling Messages
  14. Solutions to Common Errors
  15. Microsoft Examples

  16. WM_LBUTTONDOWN message
  17. Module 1. Your First Windows Program
  18. Window Messages
  19. How to get the error message from the error code returned by GetLastError()?
  20. tenouk.com good demos

  21. Module 2: Getting Started with Visual C++ 6.0 AppWizard 1
  22. Module 2: Getting Started with Visual C++ 6.0 AppWizard 2
  23. Module 3: Basic Event Handling, Mapping Modes, and a Scrolling View 1
  24. Module 3a: Basic Event Handling, Mapping Modes, and a Scrolling View 2
  25. Module 3b: Basic Event Handling, Mapping Modes, and a Scrolling View 3
  26. Module 4: The Graphics Device Interface (GDI), Colors, and Fonts 1
  27. Module 4: The Graphics Device Interface (GDI), Colors, and Fonts 2
  28. Module 4: The Graphics Device Interface (GDI), Colors, and Fonts 3

No comments:

Post a Comment