CHECKER2: Demonstrates Simple Hit-testing with Keyboard Interface
CHECKER2 divides the client area into a 5-by-5 array of 25 rectangles. If you click the mouse on one of the rectangles, the rectangle is filled with an X. If you click there again, the X is removed. You can use the Left Arrow, Right Arrow, Up Arrow, and Down Arrow keys to move the cursor among the 25 rectangles. The Home key sends the cursor to the upper-left rectangle; the End key drops it down to the lower-right rectangle. Both the Spacebar and Enter keys toggle the X mark.
CHECKER2 is a companion application for “Programming Windows” by Charles Petzold. The source code for this application has not been modified or tested by Microsoft Corporation.
{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the checker2 project." /C"samples}