INFO: Command IDs and In-Place Frame Window Toolbar
Article ID: 117378
Article Last Modified on 12/2/2003
APPLIES TO
- The AppWizard, when used with:
- Microsoft Visual C++ 1.5 Professional Edition
- Microsoft Visual C++ 1.51
- Microsoft Visual C++ 1.52 Professional Edition
- Microsoft Visual C++ 2.0 Professional Edition
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.
Keywords: kbwizard KB117378