Share via


CMenuImages Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides the functionality to display predefined images, such as Close buttons, Maximize buttons, radio buttons, and arrows.

class CMenuImages

Members

Public Methods

Name

Description

CMenuImages::CleanUp

Frees internal resources.

CMenuImages::Draw

Renders an image.

CMenuImages::SetColor

Sets the color for a set of toolbar images.

CMenuImages::Size

Returns the standard image size.

Remarks

This class supports the MFC framework infrastructure and is not intended to be used directly from your code.

CMenuImages is responsible for drawing objects that are defined in the IMAGES_IDS enumerated data type. Select one of the images to render, and pass the enumerated value to the Draw function. The CMenuImages::Draw function will call the CMFCToolBarImages::Draw function, which renders the images.

CMenuImages is a helper class and only contains static members.

Inheritance Hierarchy

CMenuImages

Requirements

Header: afxmenuimages.h

See Also

Reference

Hierarchy Chart

CMFCToolBarImages Class

Other Resources

MFC Classes

Internal Classes (MFC Feature Pack)