BUG: Custom AppWizard Lacks Toolbar Templates for Standard Steps (194842)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q194842 SYMPTOMS
Custom AppWizard projects based on MFC Standard steps do not have all of
the toolbar bitmaps copied to the Custom AppWizard's Template directory.
Projects created from your Custom AppWizard load the missing toolbar
bitmaps because they exist in the MFC extension DLL Mfcapwz.dll.
RESOLUTION
No action is required unless you want to customize the missing toolbar
bitmaps. To customize the missing toolbar bitmaps, you must insert them
into the Custom AppWizard project.
Steps to Customize Missing Toolbar Bitmaps- Open the MFC AppWizard extension DLL by clicking Open on the
File menu. Navigate to the ..\MSDev98\bin\ide directory. Click
Mfcapwz.dll and select Resources in the OpenAs box. Click OK.
- Expand the Template directory, right-click on the desired template and
select Export. Save the selected file in your Custom AppWizard's
Template directory. Close Mfcapwz.dll.
- In FileView of your workspace window, right-click on the Template Files
folder and select Add Files to Folder. Select the file you exported from
Mfcapwz.dll and click OK.
- In ResourceView of your workspace window, right-click on the Template
folder and select Import. Select the file exported from Mfcapwz.dll,
select Custom in the OpenAs box and click Import. Specify the Resource
type as TEMPLATE in the dialog box and click OK.
- The new template is called IDR_TEMPLATE1. Rename the template by
right-clicking on the template and selecting Properties. Enter the name
of the file in the ID box.
NOTE: The name must be placed in quotes or you will receive an invalid
character error.
You may now customize the bitmap.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
REFERENCES
For additional information, please see the following article(s) in the
Microsoft Knowledge Base:
190977 BUG: Custom AppWizard Generates Incorrect Toolbars and Bitmaps
190518 BUG: MFC AppWizard Generates Incorrect Toolbars and Bitmaps
Please see the following topics in the online documentation in Visual C++
6.0:
MSDN Library 6.0: Visual C++ Documentation; Using Visual C++; Visual C++
Programmer's Guide; Beginning Your Program; Creating A Custom AppWizard;
Creating Custom AppWizards; Understanding Custom Resource Templates;
Understanding Custom Resource Templates
MSDN Library 6.0: Visual C++ Documentation; Using Visual C++; Visual C++
Programmer's Guide; Beginning Your Program; Creating A Custom AppWizard;
Creating Custom AppWizards; Understanding Custom AppWizards
Modification Type: | Major | Last Reviewed: | 1/6/2004 |
---|
Keywords: | kbAppWizard kbBug kbCustomWizard kbpending kbwizard KB194842 kbAudDeveloper |
---|
|