Called by the framework when the application draws the image associated with a menu item.
- [in] pDC
A pointer to a device context.
- [in] pMenuButton
A pointer to a menu button whose image is being rendered.
- [in] rectImage
A pointer to a Rect structure that specifies the screen position and size of the image.
TRUE if the framework successfully renders the image; FALSE otherwise.
Override this method if you want to customize the image rendering for the menu items that belong to the menu bar owned by the CFrameWndEx derived object.