This guide teaches programmers how to interface with the mouse and the mouse drive. It starts with the very basics such as showing and hiding the mouse cursor, before moving on to intermediate and advanced topics such as menu handling, crosshair management, CAD-type operations, and more. Every example in the book is a small independent program. Thus, the reader does not need to enter all the code from the previous chapters to run the examples found in the current section. In addition, the book contains a number of valuable appendices to reach an even larger audience. One appendix contains a complete reference to all 50 mouse functions, while another one presents information on specific OEM (Original Equiments Manufacturer) mouses and their compatability levels with the Microsoft Mouse Standard.
Sprache
Verlagsort
Verlagsgruppe
McGraw-Hill Education - Europe
Zielgruppe
Für höhere Schule und Studium
Für Beruf und Forschung
Illustrationen
Maße
Höhe: 230 mm
Breite: 185 mm
ISBN-13
978-0-07-881930-8 (9780078819308)
Copyright in bibliographic data is held by Nielsen Book Services Limited or its licensors: all rights reserved.
Schweitzer Klassifikation
Part 1 Interfacing with the mouse: how to communicate with the mouse; the video function; the ten necessary mouse functions; how to keep your mouse from turning into a rat; tracing the mouse and emulating cursor movement with the keyboard; determining the button status and limiting the range of movement; creating the event handler; using an event handler; handling menus; using the mouse as a crosshair; using the mouse in CAD-type operations (graphics only?); the optional mouse functions; setting the speed; Mickey and pixels; changing and managing the graphics mouse cursor; the mouse text cursor; combining the functions into one library. Part 2 Building your own mouse cursor and the elusive 800 x 600 16 colour mode: building your own mouse cursor; building the sprite drive; the new mouse function library and sprite cursor; the sprite cursor in the 800 x 600 colour mode; sprite user rules and features. Part 3 Interfacing with the mouse in Windows: the fundamental Windows program; Windows mouse button messages; changing the Windows mouse cursor; additional Windows mouse related topics. Appendices: the 50 mouse function calls; Windows mouse and cursor functions; Windows mouse messages.