|
| CRhinoUiTabCtrlPage (LPCTSTR lpszTemplateName=NULL) |
|
| CRhinoUiTabCtrlPage (UINT nIDTemplate) |
|
virtual | ~CRhinoUiTabCtrlPage () |
|
class CRhinoUiTabPageCtrl * | GetTabCtrl () const |
|
bool | IsModified () const |
|
virtual bool | OnApply () |
|
afx_msg HBRUSH | OnCtlColor (CDC *pDC, CWnd *pWnd, UINT nCtlColor) |
|
afx_msg BOOL32 | OnEraseBkgnd (CDC *pDC) |
|
virtual bool | OnKillActive () |
|
virtual void | OnOK () |
|
virtual bool | OnSetActive () |
|
LRESULT | QuerySiblings (WPARAM wParam, LPARAM lParam) |
|
void | SetModified (bool bChanged=true) |
|
| 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) |
|
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) |
|
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...
|
|
|
virtual void | DoDataExchange (CDataExchange *pDX) |
| DDX/DDV support. More...
|
|
void | EndDialog (int nEndID) |
| called for error scenarios More...
|
|
void | InitializeBackgroundBrush () |
|
virtual void | OnCancel () |
|
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
|
virtual BOOL32 | PreCreateWindow (CREATESTRUCT &cs) |
|
virtual void | PreSubclassWindow () |
|
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) |
|
CRhinoUiTabCtrlPage 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. / //////////////////////////////////////////////////////////////
virtual bool CRhinoUiTabCtrlPage::OnApply |
( |
| ) |
|
|
virtual |
Description: This method is called by CRhinoUiTabPageCtrl when the user chooses the OK or the Apply Now button. When CRhinoUiTabPageCtrl calls this method, changes made on all tab control pages in the CRhinoUiTabPageCtrl are accepted, the tab control page retains focus, and OnApply returns true. Before OnApply can be called by the framework, you must have called CRhinoUiTabCtrlPage::SetModified and set its parameter to true. This will activate the Apply Now button as soon as the user makes a change on the tab control page.
Override this method to specify what action your program takes when the user clicks the Apply Now button. When overriding, the method should return true to accept changes and false to prevent changes from taking effect.
The default implementation of OnApply calls CRhinoUiTabCtrlPage::OnOK().
Returns: Return true if the changes are accepted; otherwise, returns false.
See Also: CRhinoUiTabPageCtrl CRhinoUiTabCtrlPage::OnOK()
virtual bool CRhinoUiTabCtrlPage::OnKillActive |
( |
| ) |
|
|
virtual |
Description: This method is called by CRhinoUiTabPageCtrl when the page is no longer the active page. Override this method to perform special data validation tasks. The default implementation of this method copies settings from the controls in the property page to the member variables of the property page. If the data was not updated successfully due to a dialog data validation (DDV) error, the page retains focus.
Returns: Returns true if data was updated successfully; otherwise, returns false.
See Also: CRhinoUiTabPageCtrl
void CRhinoUiTabCtrlPage::SetModified |
( |
bool |
bChanged = true | ) |
|
Description: Call this method to enable or disable the Apply Now button, based on whether the settings in the tab control page should be applied to the appropriate external object. The framework keeps track of which pages are dirty; that is, tab control pages for which you have called SetModified( true). The Apply Now button is always enabled if you call SetModified( true) for one of the pages. The Apply Now button is disabled when you call SetModified( false) for one of the pages, but only if none of the other pages is dirty.
Parameters: bChanged [in] If this is true then page is dirty otherwise it is clean.
See Also: CRhinoUiTabPageCtrl CRhinoUiTabCtrlPage::IsModified()