11.04.2014 Views

Advanced MFC Programming

Advanced MFC Programming

Advanced MFC Programming

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Summary<br />

SAMPLE: SIMPLE PAINT<br />

11.0 Preparation<br />

11.1 Ratio and Grid<br />

Zoom In & Zoom Out<br />

Grid<br />

Pattern Brush and Its Origin<br />

11.2 Color Selection<br />

Color Selection Control<br />

Color Bar<br />

Color Selection<br />

Integrate the Color Bar into the Program<br />

11.3 Simple Drawing<br />

New Tool Bar<br />

New Functions<br />

Mouse Cursor<br />

11.4 Tracker<br />

Implementing Tracker<br />

Moving and Resizing Tracker<br />

Customizing Cursor Shape<br />

New Tool<br />

If Mouse Clicking Doesn’t Hit the Tracker<br />

If Mouse Clicking Hits the Tracker<br />

11.5 Moving the Selected Image<br />

Normalizing Tracker<br />

Moving and Resizing the Selected Image<br />

When Left Button is Up<br />

11.6 Region<br />

Basics<br />

Region Creation<br />

Using Region<br />

Sample<br />

11.7 Path<br />

Basics<br />

Path & Region<br />

Sample 11.7-1\GDI<br />

Obtaining Path<br />

Sample 11.7-2\GDI<br />

11.8 Freeform Selection<br />

Implementation<br />

Scaling Region<br />

New Tool<br />

Resizing and Moving the Freeform Selection<br />

11.9 Cut, Copy and Paste<br />

xi

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!