Contents Up Previous Next

cbBarSpy

Helper class, used for spying for unhandled mouse events on control bars and forwarding them to the frame layout.

Derived from

wxEvtHandler

Include files

<wx/fl/controlbar.h>

Data structures


typedef cbBarInfo* BarInfoPtrT
forward declarations


typedef cbRowInfo* RowInfoPtrT
enumeration of hittest results, see cbDockPane::HitTestPaneItems(..)
enum CB_HITTEST_RESULT
{
    CB_NO_ITEMS_HITTED,

    CB_UPPER_ROW_HANDLE_HITTED,
    CB_LOWER_ROW_HANDLE_HITTED,
    CB_LEFT_BAR_HANDLE_HITTED,
    CB_RIGHT_BAR_HANDLE_HITTED,
    CB_BAR_CONTENT_HITTED
}
Members

cbBarSpy::cbBarSpy
cbBarSpy::ProcessEvent
cbBarSpy::SetBarWindow


cbBarSpy::cbBarSpy

cbBarSpy(wxFrameLayout* pPanel)

Constructor, taking a parent pane.

cbBarSpy()

Default constructor.


cbBarSpy::ProcessEvent

bool ProcessEvent(wxEvent& event)

Performs special event processing.


cbBarSpy::SetBarWindow

void SetBarWindow(wxWindow* pWnd)

Sets the bar window.