SAMPLE: Blocks32: Demonstrates CRectTracker Class

ID: Q141888


The information in this article applies to:


SUMMARY

BLOCKS32 is a sample that demonstrates CRectTracker class. The user of the BLOCKS32 sample can create rectangle, ellipse, and rounded rectangle graphical objects. Once the objects are created, the mouse can be used to manipulate the objects by changing their size or position on the screen. The user can save to a disk file the state of objects in the document for use in another session.

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

~ Blocks32.exe
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


MORE INFORMATION

BLOCKS32 demonstrates the following:

BLOCKS32 uses the following MFC classes: CArchive, CBrush, CClientDC, CDC, CFile, CFrameWnd, CPaintDC, CPen, CPoint, CRect, CWinApp, and CRectTracker.


Keywords          : kbcode kbsample kbui kbMFC KbUIDesign kbVC 
Version           : 4.0
Platform          : NT WINDOWS 
Issue type        : 

Last Reviewed: August 8, 1999