Receiving Toolbar events

When a toolbar button is selected, the application is notified through the LToolbar::ToolBarCallBack function. To receive notification of toolbar events, you must derive a class from LToolbar and override the LToolbar::ToolBarCallBack function. In addition, the use of the callback function must be enabled by calling LToolbar::EnableToolBarCallBack.