Microsoft KB Archive/97544

{|
 * width="100%"|

Visual C++ README.WRI Part 7-Foundation Class Library (2 of 2)

 * }

Q97544

-

The information in this article applies to:


 * Microsoft Visual C++ for MS-DOS, version 1.0

-

SUMMARY
The text below presents information in Part 7 of the README.WRI file distributed with Microsoft Visual C++ version 1.0. Setup installs README.WRI in the MSVC\HELP directory.

Page 177, Enhance Scribble's Print Preview
In the code listing for the function CScribView::OnPreparePrinting, the parameter list and the last line of the function are incorrect. The function should read as follows:

  BOOL CScribView::OnPreparePrinting( CPrintInfo* pInfo ) {     pInfo->SetMaxPage(2);   // the document is two pages long: // the first page is the title page // the second page is the drawing >    BOOL bRet = DoPreparePrinting(pInfo); // default preparation >    pInfo->m_nNumPreviewPages = 2;  // Preview 2 pages at a time >    // Set this value after calling DoPreparePrinting to >     // override value read from .INI file >    return bRet; }

Page 191, Adding Help After the Fact
In the procedure labeled &quot;To copy help-related files to MYSCRIB,&quot; make the following changes:


 * 1) As the last instruction under step 4, add the following instruction: &quot;Replace all occurrences of the string &quot;myhelp&quot; with &quot;scribble&quot;.
 * 2) In step 5, add the following sentence at the end of the step: &quot;Copy all files in the directory MYHELP\HLP to your MYSCRIB\HLP directory. This includes several .RTF files and a number of .BMP files.&quot;
 * 3) In the first paragraph of step 6, change the phrase &quot;the PEN.RTF file&quot; to &quot;the PEN.RTF and README.TXT files&quot;. Then, in the final paragraph of step 6, at the top of page 192, change the phrase &quot;is PEN.RTF&quot; to &quot;are PEN.RTF and README.TXT&quot;.

Page 196, The Pen Menu Screen
In the Section entitled &quot;The Pen Menu Screen,&quot; the reference to AFXCORE.RTF should be to PEN.RTF, and the window captions in figures 10.3, 10.4, and 10.5 should read &quot;PEN.RTF&quot;. The figure caption under figure 10.3 should also refer to PEN.RTF rather than AFXCORE.RTF, and the references to AFXCORE.RTF in the paragraphs between figures 10.3 and 10.4 should also refer to PEN.RTF instead.

Additional query words: 1.00 CLUG Tutorial

Keywords : kb16bitonly

Issue type :

Technology :