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.12 Memory Sharing Among Processes<br />

Problem with Global Memory<br />

File Mapping<br />

File Mapping Functions<br />

Samples<br />

Summary<br />

VIEWS<br />

14.1 Edit View<br />

Generating the Application<br />

Search Related Commands<br />

Other Commands<br />

14.2 Rich Edit View<br />

Customizing File Open Dialog Box<br />

Customizing “Save As” Dialog Box<br />

Formatting Text<br />

14.3 Simple Explorer, Step 1: Preparation<br />

14.4 Simple Explorer, Step 2: List Drives<br />

Creating Image List<br />

Alternative Ways of Creating Image List<br />

Selecting Image List into Tree Control<br />

Setting Styles of Tree Control<br />

Adding Root Node<br />

Finding out Available Drives in the System<br />

14.5 Simple Explorer, Step 3: Listing Directories<br />

Enumerating Files and Directories<br />

Adding Directory Nodes<br />

14.6 Simple Explorer, Step 4: Displaying Files<br />

Image Lists<br />

Adding Columns<br />

Listing Files<br />

Destroying the Old List<br />

Using Function CExplorerView::ChangeDir()<br />

14.7 Simple Explorer, Step 5: Displaying Registered Icons<br />

Which Icon to Use<br />

Sample<br />

14.8 Simple Explorer, Step 6: Clicking and Double Clicking<br />

Tree Control Messages<br />

Obtaining Full Path<br />

Finding out the Clicked Item<br />

When an Item Is Clicked<br />

When a Node Expands<br />

14.9 Simple Explorer, Step 7: File Sort<br />

Sort Related Functions<br />

Adding Parameters to Items<br />

xiv

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

Saved successfully!

Ooh no, something went wrong!