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

ID: Q103341


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) 3.1


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 files are available for download from the Microsoft Download Center. Click the file names below to download the files:


Jigsaw.exe

For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address

http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

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: December 7, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.