Book Image

Microsoft Visual C++ Windows Applications by Example

By : Stefan Bjornander, Stefan Björnander
Book Image

Microsoft Visual C++ Windows Applications by Example

By: Stefan Bjornander, Stefan Björnander

Overview of this book

Table of Contents (15 chapters)
Microsoft Visual C++ Windows Applications by Example
Credits
About the Author
About the Reviewer
Preface
Index

The Resource


Here follows a summary of the added menus, accelerators, toolbar buttons, and strings.

Id

Menu Item

Toolbar Accelerator

String Table

ID_EDIT_CUT

Edit\Cut

Ctrl-X

Cut the selection and put it on the Clipboard\nCut

ID_EDIT_COPY

Edit\Copy

Ctrl-C

Copy the selection and put it on the Clipboard\nCopy

ID_EDIT_PASTE

Edit\Paste

Ctrl-V

Insert Clipboard contents\nPaste

ID_ALIGN_LEFT

Alignment\Left

Horizontal Alignment Left\n Left Alignment

ID_ALIGN_CENTER

Alignment\Center

Horizontal Alignment Center\n Center Alignment

ID_ALIGN_RIGHT

Alignment\Right

Horizontal Alignment Right\n Right Alignment

ID_ALIGN_JUSTIFIED

Alignment\Justified

Horizontal Alignment Justified \nJustified Alignment

ID_FORMAT_FONT

Format\Center

 

Choose a Font\nFont

The Line

As a paragraph can be split over several lines, the Line class keeps track of the first and last character index of the line as well as the height (in logical devices) of a line.

Line.h

class Line...