11.04.2014 Views

Advanced MFC Programming

Advanced MFC Programming

Advanced MFC Programming

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

13.2 Creating Applications without Using Document/View Structure<br />

How Application, Document and View Are Bound Together<br />

Creating Window<br />

Sample 13.2\Gen<br />

Excluding Classes from Build<br />

13.3 Implementing Multiple Views<br />

Simple View Implementation<br />

Attaching Multiple Views to One Document<br />

Sample 13.3\Chart<br />

Window Origin and View Port Origin<br />

MM_ANISOTROPIC & MM_ISOTROPIC<br />

Window Extents and View Port Extents<br />

Pie Chart Drawing<br />

13.4 Multiple Documents Implementation<br />

13.5 Painting Caption Bar<br />

Non-client Area and Related Messages<br />

Caption Text Area<br />

Sample 13.5\Cap<br />

13.6 Irregular Shape Window<br />

Problem<br />

Style WS_EX_TRANSPARENT<br />

Using Dialog Box<br />

Disabling Default Background Painting<br />

Disabling Non-client Area Painting<br />

Moving the Window with Mouse<br />

13.7 Saving Initial States<br />

Where to Save the Information<br />

Functions Used to Write and Read Information<br />

Format of “.ini” File<br />

Sample 13.7\Ini<br />

13.8 Exchanging User-Defined Messages Among Applications<br />

Registering User Defined Messages<br />

Sample<br />

Finding Window & Sending Message<br />

13.9 Z-Order<br />

13.10 Hook<br />

Hook Installation<br />

System Wide Hook<br />

Variables in DLL<br />

Defining Data Segment<br />

DLL Implementation<br />

Sample 13.6\Hook<br />

13.11 Journal Record and Journal Playback Hooks<br />

Analyzing Events<br />

Playing back the Recorded Events<br />

Using Functions Contained in DLL<br />

xiii

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

Saved successfully!

Ooh no, something went wrong!