Jigsaw.exe - GDI Region, Clipping, and Bitmap Functions

ID: Q103341


The information in this article applies to:


SUMMARY

Jigsaw.exe uses region functions (CreateRectRgn, CombineRgn, SetRectRgn), clipping functions (SelectClipRgn), and bitmap functions (BitBlt) from the Microsoft Windows Graphics Device Interface (GDI) to simulate a jigsaw puzzle.


MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

Jigsaw.exe
Release Date: Aug. 22, 1993

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services
These functions use less memory and fewer resources than individual picture box controls to display and move the different pieces of the puzzle around the window.

Region functions create, alter, and retrieve information about regions that can be filled with graphical output. You can use region functions with clipping functions to create clipping regions. A clipping region is a portion of a window where GDI creates output. If you send output to an area of a window outside a clipping region, the output will not be visible. Bitmap functions display bitmaps; these functions let you prepare images in memory and then copy the images to the display.

To load Jigsaw files in the Visual Basic environment, run Vb.exe, choose Open Project from the File menu, and select the Jigsaw.mak file. You can also make an executable file and run it as a separate program using the Visual Basic run-time file, Vbrun200.dll.

Jigsaw was built with Microsoft Visual Basic version 3.0 and tested under Microsoft Windows version 3.1.

Additional query words:


Keywords          : kbfile kbsample kb16bitonly kbGDI kbDSupport kbSDKWin16 
Version           : WINDOWS:3.1
Platform          : WINDOWS 
Issue type        : kbinfo 

Last Reviewed: July 7, 1999