共用方式為


CMFCToolBar::IsAutoGrayInactiveImages

Specifies whether the automatic generation of disabled button images is enabled.

static BOOL IsAutoGrayInactiveImages();

Return Value

TRUE if the option to automatically dim inactive images is enabled; otherwise FALSE.

Remarks

You can enable or disable automatic dimming of inactive images by calling on CMFCToolBar::AutoGrayInactiveImages.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart