CMFCToolBar::EnableReflections

Enables or disables command reflection.

void EnableReflections(
   BOOL bEnable = TRUE
);

Parameters

  • [in] bEnable
    TRUE to enable command reflection; FALSE to disable command reflection.

Remarks

Call this method to enable command reflection for toolbar buttons that contain embedded controls, such as combo boxes.

For more information about command reflection, see TN062: Message Reflection for Windows Controls.

Requirements

Header: afxtoolbar.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCToolBar Class

TN062: Message Reflection for Windows Controls