Processing Notification Messages in a Rebar Control

HomeOverviewSample

In the parent class of the rebar control, create an OnChildNotify handler function with a switch statement for any rebar-control (CReBarCtrl) notification messages you want to handle. Notifications are sent to the parent window when the user drags objects over the rebar control, changes the layout of the rebar bands, deletes bands from the rebar control, and so on.

The following notification messages can be sent by the rebar control object:

For more information on these notifications, see the Rebar Control Messages section of the Platform SDK.

See Also   Windows Common Controls and MFC Classes