Rhino C++ API  8.13
Public Types | Public Member Functions | List of all members
IDockBarEventWatcher Class Referenceabstract

Interface class for forwarding dockbar events. More...

#include <RhinoSdkDialog.h>

Inheritance diagram for IDockBarEventWatcher:
ITabbedDockBarEventWatcher CRhinoTabbedDockBarDialog

Public Types

enum  ShowEventArgs : int { ShowEventArgs::Show, ShowEventArgs::Hide, ShowEventArgs::HideOnDeactivate, ShowEventArgs::ShowOnDeactivate }
 OnShowDockbar event type More...
 

Public Member Functions

virtual ~IDockBarEventWatcher ()
 
virtual void OnDockBarPositionChanged (DWORD dwNewLocation)=0
 
virtual bool OnDockContextStartDrag (bool bStart)=0
 
virtual void OnShowDockBar (ShowEventArgs args)=0
 
virtual void OnStartTracking (bool bDoneTracking)=0
 
virtual void OnToggleDocking (bool bStart)=0
 

Detailed Description

Interface class for forwarding dockbar events.

Member Enumeration Documentation

◆ ShowEventArgs

OnShowDockbar event type

Enumerator
Show 

Dock bar shown or made visible

Hide 

Dock bar hidden, no longer visible

HideOnDeactivate 

Dock bar temporarily hidden because the main Rhino application is no longer active.

ShowOnDeactivate 

Dock bar that was temporarily hidden when the main Rhino application was deactivated is now being shown.

Constructor & Destructor Documentation

◆ ~IDockBarEventWatcher()

virtual IDockBarEventWatcher::~IDockBarEventWatcher ( )
inlinevirtual

Member Function Documentation

◆ OnDockBarPositionChanged()

virtual void IDockBarEventWatcher::OnDockBarPositionChanged ( DWORD  dwNewLocation)
pure virtual

Implemented in CRhinoTabbedDockBarDialog.

◆ OnDockContextStartDrag()

virtual bool IDockBarEventWatcher::OnDockContextStartDrag ( bool  bStart)
pure virtual

Implemented in CRhinoTabbedDockBarDialog.

◆ OnShowDockBar()

virtual void IDockBarEventWatcher::OnShowDockBar ( ShowEventArgs  args)
pure virtual

Implemented in CRhinoTabbedDockBarDialog.

◆ OnStartTracking()

virtual void IDockBarEventWatcher::OnStartTracking ( bool  bDoneTracking)
pure virtual

Implemented in CRhinoTabbedDockBarDialog.

◆ OnToggleDocking()

virtual void IDockBarEventWatcher::OnToggleDocking ( bool  bStart)
pure virtual

Implemented in CRhinoTabbedDockBarDialog.