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


The Application Wizard creates the basic set of menus, which are used by the Application Framework. We add the menu Format to the resource with the help of the Resource Editor. Here follows a summarization of the added menus, accelerators, toolbar buttons, and strings.

Id

Menu Item

Accelerator Toolbar

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_FORMAT_FONT

Format | Font

Ctrl-F

Set the Font\nFont

ID_ALIGN_HORZ_ LEFT

Format | Align-ment | Horizontal | Left

 

Horizontal Alignment Left\nLeft

ID_ALIGN_HORZ_ CENTER

Format | Align-ment | Horizontal | Center

 

Horizontal Alignment Center\nCenter

ID_ALIGN_HORZ_ RIGHT

Format | Align-ment | Horizontal | Right

 

Horizontal Alignment Right\n Right

ID_ALIGN_HORZ_ JUSTIFIED

Format | Align...