Rhino C++ API  8.13
Public Member Functions | Protected Member Functions | Friends | List of all members
CRhinoUiDockBarDialog Class Reference

CRhinoUiDockBarDialog dialog. More...

#include <RhinoSdkUiDockBarDialog.h>

Inheritance diagram for CRhinoUiDockBarDialog:
CRhinoUiDialog

Public Member Functions

 CRhinoUiDockBarDialog (LPCTSTR lpszTemplateName=NULL, CWnd *pParent=NULL)
 
 CRhinoUiDockBarDialog (UINT nIDTemplate, CWnd *pParent=NULL)
 
virtual ~CRhinoUiDockBarDialog ()
 
bool ForwardLMouseDblClickMessagesToParent (CPoint point)
 
bool ForwardLMouseDownMessagesToParent (CPoint point)
 
CRhinoUiDockBarGetRhinoDockBar () const
 
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
 
afx_msg HBRUSH OnCtlColor (CDC *pDC, CWnd *pWnd, UINT nCtlColor)
 
- Public Member Functions inherited from CRhinoUiDialog
 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 Create (LPCTSTR lpszTemplateName, CWnd *pParentWnd=NULL)
 Modeless construct. More...
 
virtual BOOL32 Create (UINT nIDTemplate, CWnd *pParentWnd=NULL)
 
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)
 
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)
 
virtual BOOL32 OnInitDialog ()
 
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)
 
virtual BOOL32 PreTranslateMessage (MSG *pMsg)
 
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...
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 DDX/DDV support. More...
 
virtual void OnCancel ()
 
virtual void OnOK ()
 
virtual BOOL32 PreCreateWindow (CREATESTRUCT &cs)
 
- Protected Member Functions inherited from CRhinoUiDialog
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 ()
 
virtual LRESULT WindowProc (UINT message, WPARAM wParam, LPARAM lParam)
 

Friends

class CRhinoUiDockBar
 

Additional Inherited Members

- Public Types inherited from CRhinoUiDialog
enum  rhino_dialog_flags { is_dockbar_dialog = 1, force_32bit_rhino_flag = 0xFFFFFFFF }
 Reserved for future use. More...
 
- Public Attributes inherited from CRhinoUiDialog
bool m_allow_auto_resize
 
CRhinoUiLocalizeDialog m_localize
 For internal use only. More...
 
CRhinoUiDialogItemResizer m_Resize
 
- Protected Attributes inherited from CRhinoUiDialog
bool m_activate_tool_tip
 
bool m_allow_escape_and_enter
 
bool m_bAddResizer
 
UUID m_plugin_id
 
CRect m_rcGripper
 
CRect m_rcPage
 
int m_rhino_flags
 
CSize m_sizeGripper
 
CSize m_sizeMax
 Defaults to 0,0 which means no clamp, if other than 0,0 use this instead. More...
 
CSize m_sizeMin
 Defaults to 0,0 which means no clamp, if other than 0,0 use this instead. More...
 
UINT m_template_name_id
 
CString m_template_name_string
 
CToolTipCtrl m_tool_tip
 
CWnd * m_tool_tip_owner
 

Detailed Description

CRhinoUiDockBarDialog dialog.

NoKeywords

/ / Copyright (c) 1993-2007 Robert McNeel & Associates. All rights reserved. / Rhinoceros is a registered trademark of Robert McNeel & Associates. / / THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. / ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF / MERCHANTABILITY ARE HEREBY DISCLAIMED. /
/ For complete Rhino SDK copyright information see http://www.rhino3d.com/developer. / //////////////////////////////////////////////////////////////

Constructor & Destructor Documentation

◆ CRhinoUiDockBarDialog() [1/2]

CRhinoUiDockBarDialog::CRhinoUiDockBarDialog ( LPCTSTR  lpszTemplateName = NULL,
CWnd *  pParent = NULL 
)

Description: Constructors

Parameters: lpszTemplateName [in] Contains a null-terminated string that is the name of a dialog-box template resource. nIDTemplate [in] Contains the identifier of a dialog-box template resource. pParentWnd [in] Pointer to the parent or owner window object of type CWnd to which the dialog object belongs. If it is NULL, the dialog object parent window is set to the main application window.

Returns:

See Also: CRhinoUiDialog CDialog CRhinoUiDockBarHtmlDialog

◆ CRhinoUiDockBarDialog() [2/2]

CRhinoUiDockBarDialog::CRhinoUiDockBarDialog ( UINT  nIDTemplate,
CWnd *  pParent = NULL 
)

◆ ~CRhinoUiDockBarDialog()

virtual CRhinoUiDockBarDialog::~CRhinoUiDockBarDialog ( )
virtual

Description: Destructor

Member Function Documentation

◆ DoDataExchange()

virtual void CRhinoUiDockBarDialog::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

DDX/DDV support.

Reimplemented from CRhinoUiDialog.

◆ ForwardLMouseDblClickMessagesToParent()

bool CRhinoUiDockBarDialog::ForwardLMouseDblClickMessagesToParent ( CPoint  point)
virtual

◆ ForwardLMouseDownMessagesToParent()

bool CRhinoUiDockBarDialog::ForwardLMouseDownMessagesToParent ( CPoint  point)
virtual

◆ GetRhinoDockBar()

CRhinoUiDockBar* CRhinoUiDockBarDialog::GetRhinoDockBar ( ) const

Description: Get Rhino dock bar that this dialog is embedded in.

Returns: Rhino dock bar that this dialog is embedded in.

See Also: CRhinoUiDockBarHtmlDialog

◆ OnCancel()

virtual void CRhinoUiDockBarDialog::OnCancel ( )
protectedvirtual

◆ OnCreate()

afx_msg int CRhinoUiDockBarDialog::OnCreate ( LPCREATESTRUCT  lpCreateStruct)

◆ OnCtlColor()

afx_msg HBRUSH CRhinoUiDockBarDialog::OnCtlColor ( CDC *  pDC,
CWnd *  pWnd,
UINT  nCtlColor 
)

◆ OnOK()

virtual void CRhinoUiDockBarDialog::OnOK ( )
protectedvirtual

◆ PreCreateWindow()

virtual BOOL32 CRhinoUiDockBarDialog::PreCreateWindow ( CREATESTRUCT &  cs)
protectedvirtual

Friends And Related Function Documentation

◆ CRhinoUiDockBar

friend class CRhinoUiDockBar
friend