Abstract
The first step in writing a graphics application for Windows 98 is to understand the message-based programming style which the operating system demands. A Windows 98 program must operate by processing the messages that it is sent — these messages originate with user input and are subsequently translated by the operating system before being passed to the program. The message-based approach contrasts strongly with the more traditional technique of allowing the program to dictate step-by-step the range of acceptable inputs — the Windows 98 operating system gives the user much more control. This chapter describes the following essential concepts:
-
generation of messages from user input
-
message queues and the program’s message loop
-
handling messages with callback functions
-
Windows 98 messages
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
Rights and permissions
Copyright information
© 1998 Springer-Verlag London Limited
About this chapter
Cite this chapter
Walmsley, M. (1998). Message-Based Programming. In: Graphics Programming in C++. Springer, London. https://doi.org/10.1007/978-1-4471-0905-1_1
Download citation
DOI: https://doi.org/10.1007/978-1-4471-0905-1_1
Publisher Name: Springer, London
Print ISBN: 978-1-4471-1231-0
Online ISBN: 978-1-4471-0905-1
eBook Packages: Springer Book Archive