Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
5Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
Advanced MFC Programming

Advanced MFC Programming

Ratings: (0)|Views: 2,529|Likes:
Published by Andries

More info:

Published by: Andries on Feb 20, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

01/06/2013

pdf

text

original

 
 Advanced MFC Programming
Supporting Document 
 
ii
Table of Contents
TOOL BAR AND DIALOG BAR
1.1.Adding an Extra Docking Tool Bar
Default Tool BarTool Bar ImplementationMessage MappingAdding New Tool Bar ResourceDeclaring New Member VariableCreating New Tool BarCommand Message Mapping
1.2.Imitating the Behavior of Radio Buttons
Radio Button & Check BoxSample
1.3.Check Box Implementation
Using Boolean Type VariablesFunction
CButton::SetButtonInfo(…)
1.4.Message Mapping for a Contiguous Range of Command IDs
Contiguous IDsModifying an ID
1.5.Fixing the Size of Tool Bar1.6.Adding Combo Box to Tool Bar1.7.Modifying the Default Styles of Tool Bar1.8.Dialog Bar1.9.Resizable Dialog Bar
Deriving New Class from CDialogBarResizing Edit ControlDynamic LayoutUsing the New Class
1.10.Adding Flyby and Tool Tip1.11.Toggling Control Bars On/OfSummary:
MENU
2.1Message WM_COMMAND and UPDATE_COMMAND_UI
Handling
WM_COMMAND
CommandEnabling & Disabling a CommandChanging Menu Text
 
iii
Checking a Menu Item
2.2Right Click Pop Up Menu
Adding Menu ResourceTrapping Right Button Clicking EventUsing Class
CMenu
Implementing Right-Click MenuMessage Mapping for Right-Click Menu
2.3Updating Menu Dynamically
Menu StrutureInserting and Removing Menu ItemSample Implementation
2.4Bitmap Check2.5System Menu and Bitmap Menu Item
System MenuBitmap Menu ItemNew FunctionsMenu ModificationMessage Mapping for System Command
2.6Owner-Draw Menu
Overriding Two FunctionsDrawing a BitmapDeriving a New Class from
CMenu
Overriding Function
CMenu::MeasureItem(…)
Overriding Function
CMenu::DrawItem(…)
Using the New Class
2.7Changing the Whole Menu DynamicallySummary
SPLITTER WINDOW
3.1Implementing Static Splitter Windows3.2Dynamic Splitter Window3.3Customizing the Behavior of Split Bar
Splitter Window LayoutOverriding
CSplitterWnd::DeleteRow(…)
and
CSplitterWnd:: DeleteColumn(…)
Using the New Class
3.4Customizing the Default Appearance
Drawing FunctionsSample
3.5Splitter Window That Can’t be Resized by TrackingSummary

Activity (5)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
An Le liked this
An Le liked this
chandra-calgary liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->