Knowledge Base

Blocks32: Demonstrates CRectTracker Class

Article ID: 141888

Article Last Modified on 11/21/2006


APPLIES TO


This article was previously published under Q141888

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 files are available for download from the Microsoft Download Center:


Blocks32.exe

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

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: kbdownload kbcode kbfile kbsample kbuidesign KB141888