The CHoopsFrame class provides a HOOPS-specific implementation of the CMDIFrameWnd(MDI)/CFrameWnd(SDI) object. More...
#include <CHoopsFrm.h>
Public Member Functions | |
DECLARE_DYNAMIC (CHoopsFrame) | |
macro def for runtime creation | |
CHoopsFrame (BOOL share) | |
CPalette * | GetSharedPalette () |
BOOL | IsPaletteShared () |
void | SetPaletteShared (BOOL share) |
virtual BOOL | PreCreateWindow (CREATESTRUCT &cs) |
overloaded, but currently does nothing | |
void | OnViewFullScreen () |
Protected Member Functions | |
void | DockControlBarLeftOf (CToolBar *Bar, CToolBar *LeftOf) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
overloaded for custom creation | |
afx_msg BOOL | OnQueryNewPalette () |
custom palette handling | |
afx_msg void | OnPaletteChanged (CWnd *pFocusWnd) |
custom palette handling | |
afx_msg void | OnMove (int x, int y) |
overloaded to support hardware-accelerated dual-monitor systems | |
virtual afx_msg BOOL | OnWndMsg (UINT message, WPARAM wParam, LPARAM lParam, LRESULT *pResult) |
overloaded to handle suspend messages | |
afx_msg void | OnGetMinMaxInfo (MINMAXINFO *lpmmi) |
Protected Attributes | |
CPalette * | m_pPalette |
BOOL | m_bSharePalette |
CStatusBar | m_wndStatusBar |
used by SetPaneText | |
CToolBar | m_wndToolBar |
currently unused | |
The CHoopsFrame class provides a HOOPS-specific implementation of the CMDIFrameWnd(MDI)/CFrameWnd(SDI) object.
CHoopsFrame encapsulates palette sharing/management when using HOOPS in conjuction with MFC.
This is the base class from which all custom HOOPS-based MFC/MDI CMDIFrameWnd/CFrameWnd objects should be derived.
CHoopsFrame::CHoopsFrame | ( | BOOL | share | ) |
Custom constructor
share | Indicates whether a single palette should be shared by all the views |
|
protected |
Docks the give toolbar to the left-side of the reference toolbar
Bar | - The toolbar to be docked |
LeftOf | - The reference toolbar |
|
inline |
|
inline |
void CHoopsFrame::SetPaletteShared | ( | BOOL | share | ) |
Sets whether the palette should be shared
|
protected |
Indicates whether the palette should be shared by all the views
|
protected |
Pointer to the palette which is shared by all the views