Microsoft KB Archive/103341
Jigsaw.exe - GDI Region, Clipping, and Bitmap Functions
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.1
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.
The following files are available for download from the Microsoft Download Center:
For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services
Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that prevent any unauthorized changes to the file.
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 _IK kbSDKWin16
Issue type : kbinfo
Technology : kbAudDeveloper kbWin3xSearch kbSDKSearch kbWinSDKSearch kbWinSDK310
Last Reviewed: December 9, 1999