INFO: Command IDs and In-Place Frame Window Toolbar (117378)
The information in this article applies to:
- The AppWizard, when used with:
- Microsoft Visual C++ 1.51
- Microsoft Visual C++ 1.52
- Microsoft Visual C++, 32-bit Editions 2.0
- Microsoft Visual C++, 32-bit Editions 2.1
This article was previously published under Q117378 SUMMARY
AppWizard generates code that uses a static UINT array called "buttons" to
associate command IDs to a single toolbar bitmap that contains several
images for buttons 16 pixels wide and 15 pixels high. The IDs are
associated with the toolbar buttons, based on their order in the array.
When you construct a full-server or mini-server OLE application using
AppWizard and you have not selected context-sensitive Help support, the
"buttons" array used by the application's in-place frame window class will
contain one less command ID than the toolbar contains buttons. This
behavior is by design. The image for the Help mode button is included in
the toolbar bitmap, even when the application is generated without context-
sensitive Help support.
Modification Type: | Major | Last Reviewed: | 12/2/2003 |
---|
Keywords: | kbwizard KB117378 |
---|
|