《深入浅出MFC第2版(PDF格式)》第300章


#0369 END 
#0370 
#0371 STRINGTABLE DISCARDABLE 
#0372 BEGIN 
#0373 ID_EDIT_CLEAR 〃Erase the selectionnErase〃 
#0374 ID_EDIT_CLEAR_ALL 〃Clears the drawing〃 
#0375 ID_EDIT_COPY 〃Copy the selection and put it on the ClipboardnCopy〃 
#0376 ID_EDIT_CUT 〃Cut the selection and put it on the ClipboardnCut〃 
#0377 ID_EDIT_FIND 〃Find the specified textnFind〃 
#0378 ID_EDIT_PASTE 〃Insert Clipboard contentsnPaste〃 
#0379 ID_EDIT_REPEAT 〃Repeat the last actionnRepeat〃 
#0380 ID_EDIT_REPLACE 〃Replace specific text with different textnReplace〃 
#0381 ID_EDIT_SELECT_ALL 〃Select the entire documentnSelect All〃 
#0382 ID_EDIT_UNDO 〃Undo the last actionnUndo〃 
#0383 ID_EDIT_REDO 〃Redo the previously undone actionnRedo〃 
#0384 END 
#0385 
#0386 STRINGTABLE DISCARDABLE 
#0387 BEGIN 
#0388 ID_VIEW_TOOLBAR 〃Show or hide the toolbarnToggle ToolBar〃 
#0389 ID_VIEW_STATUS_BAR 〃Show or hide the status barnToggle StatusBar〃 
#0390 END 
#0391 
#0392 STRINGTABLE DISCARDABLE 
#0393 BEGIN 
#0394 AFX_IDS_SCSIZE 〃Change the window size〃 
#0395 AFX_IDS_SCMOVE 〃Change the window position〃 
#0396 AFX_IDS_SCMINIMIZE 〃Reduce the window to an icon〃 
#0397 AFX_IDS_SCMAXIMIZE 〃Enlarge the window to full size〃 
#0398 AFX_IDS_SCNEXTWINDOW 〃Switch to the next document window〃 
#0399 AFX_IDS_SCPREVWINDOW 〃Switch to the previous document window〃 
#0400 AFX_IDS_SCCLOSE 〃Close the active window and prompts to save the documents〃 
912 
…………………………………………………………Page 975……………………………………………………………
附錄B Scribble Step5 完整原始碼 
#0401 END 
#0402 
#0403 STRINGTABLE DISCARDABLE 
#0404 BEGIN 
#0405 AFX_IDS_SCRESTORE 〃Restore the window to normal size〃 
#0406 AFX_IDS_SCTASKLIST 〃Activate Task List〃 
#0407 AFX_IDS_MDICHILD 〃Activate this window〃 
#0408 END 
#0409 
#0410 STRINGTABLE DISCARDABLE 
#0411 BEGIN 
#0412 AFX_IDS_PREVIEW_CLOSE 〃Close print preview modenCancel Preview〃 
#0413 END 
#0414 
#0415 STRINGTABLE DISCARDABLE 
#0416 BEGIN 
#0417 AFX_IDS_DESKACCESSORY 〃Opens the selected item〃 
#0418 END 
#0419 
#0420 STRINGTABLE DISCARDABLE 
#0421 BEGIN 
#0422 ID_PEN_THICK_OR_THIN 〃Toggles the line thickness between thin and 
thicknToggle pen〃 
#0423 ID_PEN_WIDTHS 〃Sets the size of the thin and thick pen〃 
#0424 END 
#0425 
#0426 #endif // English (U。S。) resources 
#0427 ///////////////////////////////////////////////////////////////// 
#0428 
#0429 
#0430 
#0431 #ifndef APSTUDIO_INVOKED 
#0432 ///////////////////////////////////////////////////////////////// 
#0433 // 
#0434 // Generated from the TEXTINCLUDE 3 resource。 
#0435 // 
#0436 #define _AFX_NO_SPLITTER_RESOURCES 
#0437 #define _AFX_NO_OLE_RESOURCES 
#0438 #define _AFX_NO_TRACKER_RESOURCES 
#0439 #define _AFX_NO_PROPERTY_RESOURCES 
#0440 
#0441 #include 〃resScribble。rc2〃 // non…Microsoft Visual C++ edited resources 
#0442 #include 〃afxres。rc〃 // Standard ponents 
#0443 #include 〃afxprint。rc〃 // printing/print preview resources 
#0444 
#0445 #endif // not APSTUDIO_INVOKED 
913 
…………………………………………………………Page 976……………………………………………………………
第五篇 附錄
914 
…………………………………………………………Page 977……………………………………………………………
附錄C Visual C++ 5。0 範例程式樱А?br />
附錄C 
Visual C++ 5。0 
MFC 範例程式一樱А?br />
經過整本書的鍛鍊,我想你已經對於整個 MFC 的架構有了相當紮實的瞭解,對於我所 
謂的「程式設計主軸」已經能夠掌握。接來,就是學習十八般武藝的 MFC classes 。 
Visual C++ 附有極為豐富的範例程式,包括各種主睿纾骸?br />
915 
…………………………………………………………Page 978……………………………………………………………
第五篇 附錄
其使用 MFC 來設計程式的例子極多(其他部份使用 SDK 工具),是個大寶庫。 
我把所有以 MFC 開發的範例程式以字母為序,列於表供你參考。 
程式名稱 說明 
ACDUAL Demonstrates how to add dual interface support to an MFC…based 
Automation server。 
AUTOCLIK Tutorial example illustrating Automation features in Visual C++ Tutorials。 
AUTODRIV A simple Automation client application that drives the AUTOCLIK tutorial 
sample application。 
BINDENRL Databound controls in a dialog…based application with property pages。 
BINDSCRB Illustration of the use of new interfaces to ponents currently 
supported by the Microsoft Office suite of products。 
CALCDRIV Automation client。 
CATALOG Illustration of direct calls to
小说推荐
返回首页返回目录