|
| | CRhinoTabbedDockBarDialog () |
| |
| virtual const wchar_t * | Caption (void) const =0 |
| | Required overrides. More...
|
| |
| CRhinoUiDockBar * | DockBar (void) const |
| | Returns the dockbar that this tab is currently on. More...
|
| |
| void | OnDockBarPositionChanged (DWORD dwNewLocation) override |
| |
| bool | OnDockContextStartDrag (bool bStart) override |
| | Events, forwarded from CRhinoUiDockBar. More...
|
| |
| virtual void | OnShowDockBar (bool bShowDockBar) |
| |
| void | OnShowDockBar (IDockBarEventWatcher::ShowEventArgs args) override |
| |
| void | OnShowTab (const class CRhinoUiPanel &db, bool bShowTab, const ON_UUID &dockBarId) override |
| |
| void | OnStartTracking (bool bDoneTracking) override |
| |
| void | OnToggleDocking (bool bStart) override |
| |
| virtual ON_UUID | PlugInId (void) const =0 |
| |
| virtual ON_UUID | TabId (void) const =0 |
| | Generate a unique ID for your tab and return it here. More...
|
| |
| | CRhinoDialog (LPCTSTR lpszTemplateName, CWnd *pParentWnd=nullptr) |
| | Modal construct. More...
|
| |
| | CRhinoDialog (UINT nIDTemplate, CWnd *pParentWnd=nullptr) |
| |
| virtual | ~CRhinoDialog () |
| |
| CSize | CalcDialogSize (INT nResourceId) |
| |
| BOOL32 | Create (LPCTSTR lpszTemplateName, CWnd *pParentWnd=nullptr) override |
| | Modeless construct. More...
|
| |
| BOOL32 | Create (UINT nIDTemplate, CWnd *pParentWnd=nullptr) override |
| |
| UINT | DialogID () |
| |
| LPCTSTR | DialogStringID () |
| |
| unsigned int | DocumentSerialNumber () const |
| |
| virtual INT_PTR | DoModal () override |
| |
| bool | EnableDisplayCommands () const |
| |
| void | EnableSaveDialogPositionAndSize (bool bEnable=true, const wchar_t *wRegistryTitle=nullptr) |
| |
| bool | InDoModal () const |
| |
| bool | IsSaveDialogPositionAndSizeEnabled () const |
| |
| void | Localize () |
| |
| virtual void | OnColorButtonClicked (UINT nBtnID) |
| | Called by CRhColorButton if button clicked and color changed;. More...
|
| |
| void | OnRhinoHelpButton () |
| | Dialog Utilities. More...
|
| |
| bool | PushPickButton (bool hide_this_dialog) |
| |
| void | SetEnableDisplayCommands (bool b) |
| |
| void | SetEnableDisplayCommands (bool b, unsigned int documentRuntimeSerialNumber) |
| |
| | CRhinoUiDialog (LPCTSTR lpszTemplateName=NULL, CWnd *pParentWnd=NULL) |
| |
| | CRhinoUiDialog (UINT nIDTemplate, CWnd *pParentWnd=NULL) |
| |
| virtual | ~CRhinoUiDialog () |
| |
| bool | AddResizeControl (bool b) |
| |
| bool | AllowEscapeAndEnter () const |
| |
| void | CallOnUpdateUi () |
| |
| virtual BOOL32 | CreateIndirect (HGLOBAL hDialogTemplate, CWnd *pParentWnd=NULL) |
| |
| virtual BOOL32 | CreateIndirect (LPCDLGTEMPLATE lpDialogTemplate, CWnd *pParentWnd=NULL, void *lpDialogInit=NULL) |
| |
| AFX_MODULE_STATE * | DialogModuleState () |
| |
| UINT | DialogTemplateID () const |
| |
| LPCTSTR | DialogTemplateName () const |
| |
| void | DisableAllDialogItems () |
| |
| INT_PTR | DoModal () |
| |
| void | EnableAllDlgControls (bool bEnable) |
| |
| bool | EnableDialogItem (UINT nItemID, bool bEnable) |
| |
| int | EnableDialogItems (CUIntArray &nItemIDArray, bool bEnable) |
| |
| int | EnableDialogItems (UINT *nItemIDArray, int iArraySize, bool bEnable) |
| |
| virtual bool | ForwardLMouseDblClickMessagesToParent (CPoint point) |
| |
| virtual bool | ForwardLMouseDownMessagesToParent (CPoint point) |
| |
| bool | GetDlgItemRect (UINT nID, CRect &rc) |
| |
| bool | IsDialogItemEnabled (UINT nItemID) const |
| |
| bool | IsResizable () |
| |
| bool | IsRhinoFlagSet (rhino_dialog_flags flag) const |
| |
| afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
| |
| afx_msg HBRUSH | OnCtlColor (CDC *pDC, CWnd *pWnd, UINT nCtlColor) |
| |
| afx_msg void | OnDestroy () |
| |
| afx_msg void | OnGetMinMaxInfo (MINMAXINFO *lpMMI) |
| |
| afx_msg void | OnLButtonDblClk (UINT nFlags, CPoint point) |
| |
| afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
| |
| afx_msg LRESULT | OnNcHitTest (CPoint point) |
| |
| afx_msg void | OnPaint () |
| |
| afx_msg void | OnSize (UINT nType, int cx, int cy) |
| |
| virtual void | OnUnhandledEscapeAndEnter (UINT nChar) |
| |
| virtual bool | OverrideAllowEscapeAndEnter (MSG *msg) |
| |
| void | PaintGradientTitleRect (CDC *pDC, LPRECT lpRect, const char *lpsCaption=0, bool bActiveWindow=TRUE) |
| |
| void | PaintGradientTitleRect (CDC *pDC, LPRECT lpRect, const wchar_t *lpsCaption=0, bool bActiveWindow=TRUE) |
| |
| void | RestoreAllDisabledDialogItems () |
| |
| int | RhinoFlags () const |
| |
| bool | SetAllowEscapeAndEnter (bool b) |
| |
| bool | SetDlgItemToolTip (CWnd *pWndCtrl, const char *lpsToolTip) |
| |
| bool | SetDlgItemToolTip (CWnd *pWndCtrl, const wchar_t *lpsToolTip) |
| |
| bool | SetDlgItemToolTip (UINT nID, const char *lpsToolTip) |
| |
| bool | SetDlgItemToolTip (UINT nID, const wchar_t *lpsToolTip) |
| |
| bool | SetMinSizeToCurrentSize () |
| |
| bool | SetRhinoFlag (rhino_dialog_flags flag, bool b) |
| |
| int | SetRhinoFlags (int iFlags) |
| |
| void | SetToolTipOwner (CWnd *pWnd) |
| | Ported from CRhinoUiDialog. More...
|
| |
| virtual | ~ITabbedDockBarEventWatcher () |
| |
| virtual | ~IDockBarEventWatcher () |
| |
|
| static void | CloseDockbarTab (const CRhinoDoc &doc, const ON_UUID &uuidPanelId, const ON_UUID *uuidDockBar) |
| |
| static void | CreateTabQuietly (const CRhinoDoc &doc, const ON_UUID &uuidPanelId) |
| |
| static CRhinoUiDockBar * | DockBarForTab (const CRhinoDoc &doc, const ON_UUID &uuidPanelId) |
| |
| static void | DockBarsForTab (const CRhinoDoc &doc, const ON_UUID &uuidPanelId, ON_SimpleArray< CRhinoUiDockBar * > &dockbars) |
| |
| static void | GetOpenTabIds (ON_SimpleArray< ON_UUID > &tabIds) |
| |
| static bool | IsTabVisible (const CRhinoDoc &doc, const ON_UUID &uuidPanelId, bool bIsSelectedTab=false) |
| |
| static void | OpenDockbarTab (const CRhinoDoc &doc, const ON_UUID &uuidPanelId, bool bSelect=true, const ON_UUID *uuidDockBar=nullptr) |
| | Utility functions to manipulate the tabs. More...
|
| |
| static bool | OpenTabOnDockBar (CRhinoUiDockBar *pDockbar, const CRhinoDoc &doc, const ON_UUID &uuidPanelId, bool makeSelectedTab=true) |
| | If nullptr == pDockbar, a new dockbar is created for the tab. More...
|
| |
| static bool | Register (CRuntimeClass *pRTC, LPCTSTR lpszTemplateName, UINT idi, AFX_MODULE_STATE *pms) |
| |
| static bool | Register (CRuntimeClass *pRTC, UINT nIDTemplate, UINT idi, AFX_MODULE_STATE *pms) |
| |
| static void | ShowDockbarTab (const CRhinoDoc &doc, const ON_UUID &uuidPanelId, bool bShow, bool bMakeSelected, const ON_UUID *uuidDockBar) |
| |
| static int | CheckSemiModalMessagePump () |
| |
| static bool | InDoSemiModal () |
| |
|
| virtual void * | EVF (const wchar_t *wszFunc, const void *pvData) |
| |
| virtual BOOL32 | OnInitDialog () override |
| |
| virtual BOOL32 | PreTranslateMessage (MSG *pMsg) override |
| | Overrides. More...
|
| |
| virtual LRESULT | WindowProc (UINT message, WPARAM wParam, LPARAM lParam) override |
| |
| virtual BOOL32 | ContinueModal () |
| | Implementation. More...
|
| |
| void | DoDataExchange (CDataExchange *pDX) override |
| | DDX/DDV support. More...
|
| |
| virtual void | OnCancel () |
| |
| virtual BOOL32 | OnCommand (WPARAM wParam, LPARAM lParam) |
| | override; ///<not an override on OSX More...
|
| |
| afx_msg void | OnDestroy () |
| |
| afx_msg BOOL32 | OnHelpInfo (HELPINFO *pHelpInfo) |
| |
| virtual void | OnOK () |
| |
| bool | _SetDlgItemToolTip (CWnd *pWndCtrl, LPCTSTR lpsToolTip) |
| |
| void | Construct () |
| |
| BOOL32 | RhCreateDlgIndirect (LPCDLGTEMPLATE lpDialogTemplate, CWnd *pParentWnd, HINSTANCE hInst) |
| |
| BOOL32 | RhCreateIndirect (HGLOBAL hDialogTemplate, CWnd *pParentWnd, HINSTANCE hInst) |
| |
| BOOL32 | RhCreateIndirect (LPCDLGTEMPLATE lpDialogTemplate, CWnd *pParentWnd, void *lpDialogInit, HINSTANCE hInst) |
| |
| INT_PTR | RhDoModal () |
| |
Derive from this class for dialogs that will appear as a tabbed dock bar. Ensure you call one of the static Register functions during your CRhinoPlugIn::OnLoadPlugIn method. Note - your dialog must implement MFC dynamic creation using the DECLARE_DYNCREATE(MyDialog) macro in the header, and IMPLEMENT_DYNCREATE(MyDialog, CRhinoTabbedDockBarDialog) in the implementation file.