crashrpt2
List of all members
WTL::CMDICommandBarCtrl Class Reference
Inheritance diagram for WTL::CMDICommandBarCtrl:
WTL::CMDICommandBarCtrlImpl< CMDICommandBarCtrl > WTL::CCommandBarCtrlImpl< CMDICommandBarCtrl, CCommandBarCtrlBase, ATL::CControlWinTraits >

Additional Inherited Members

- Public Types inherited from WTL::CMDICommandBarCtrlImpl< CMDICommandBarCtrl >
typedef HANDLE HTHEME
 
typedef HTHEME(STDAPICALLTYPE * PFN_OpenThemeData) (HWND hwnd, LPCWSTR pszClassList)
 
typedef HRESULT(STDAPICALLTYPE * PFN_CloseThemeData) (HTHEME hTheme)
 
typedef HRESULT(STDAPICALLTYPE * PFN_DrawThemeBackground) (HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, OPTIONAL const RECT *pClipRect)
 
typedef HRESULT(STDAPICALLTYPE * PFN_DrawThemeParentBackground) (HWND hwnd, HDC hdc, OPTIONAL RECT *prc)
 
typedef CCommandBarCtrlImpl< CMDICommandBarCtrl, CCommandBarCtrlBase, ATL::CControlWinTraits > _baseClass
 
- Public Types inherited from WTL::CCommandBarCtrlImpl< CMDICommandBarCtrl, CCommandBarCtrlBase, ATL::CControlWinTraits >
enum  _CmdBarDrawConstants
 
enum  
 
enum  
 
- Public Member Functions inherited from WTL::CMDICommandBarCtrlImpl< CMDICommandBarCtrl >
BOOL SetMDIClient (HWND hWndMDIClient)
 
 ALT_MSG_MAP (1) ALT_MSG_MAP(2) ALT_MSG_MAP(3) LRESULT OnCreate(UINT uMsg
 
 if (lRet==(LRESULT) -1) return lRet
 
 if (m_hThemeDLL !=NULL)
 
LRESULT OnDestroy (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnThemeChanged (UINT, WPARAM, LPARAM, BOOL &)
 
LRESULT OnSize (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &)
 
LRESULT OnNcCalcSize (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &)
 
LRESULT OnNcPaint (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &)
 
LRESULT OnNcHitTest (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &)
 
LRESULT OnNcLButtonDown (UINT, WPARAM, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnMouseMove (UINT, WPARAM, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnLButtonUp (UINT, WPARAM, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnNcLButtonDblClk (UINT, WPARAM, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnCaptureChanged (UINT, WPARAM, LPARAM, BOOL &bHandled)
 
LRESULT OnParentActivate (UINT, WPARAM wParam, LPARAM, BOOL &bHandled)
 
LRESULT OnMDISetMenu (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &)
 
LRESULT OnAllHookMessages (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
void UpdateRebarBandIdealSize ()
 
void _ProcessAllHookMessages (UINT uMsg, WPARAM, LPARAM)
 
void GetSystemSettings ()
 
void _AdjustBtnSize (int cyHeight)
 
void _CalcIconRect (int cxWidth, int cyHeight, RECT &rect, bool bInvertX=false) const
 
void _CalcBtnRects (int cxWidth, int cyHeight, RECT arrRect[3], bool bInvertX=false) const
 
void _DrawMDIButton (CWindowDC &dc, LPRECT pRects, int nBtn)
 
void _OpenThemeData ()
 
void _CloseThemeData ()
 
bool _DebugCheckChild ()
 
- Public Member Functions inherited from WTL::CCommandBarCtrlImpl< CMDICommandBarCtrl, CCommandBarCtrlBase, ATL::CControlWinTraits >
DWORD GetCommandBarExtendedStyle () const
 
DWORD SetCommandBarExtendedStyle (DWORD dwExtendedStyle, DWORD dwMask=0)
 
CMenuHandle GetMenu () const
 
COLORREF GetImageMaskColor () const
 
COLORREF SetImageMaskColor (COLORREF clrMask)
 
bool GetImagesVisible () const
 
bool SetImagesVisible (bool bVisible)
 
void GetImageSize (SIZE &size) const
 
bool SetImageSize (SIZE &size)
 
bool SetImageSize (int cx, int cy)
 
bool GetAlphaImages () const
 
bool SetAlphaImages (bool bAlphaImages)
 
HWND GetCmdBar () const
 
HWND Create (HWND hWndParent, RECT &rcPos, LPCTSTR szWindowName=NULL, DWORD dwStyle=0, DWORD dwExStyle=0, UINT nID=0, LPVOID lpCreateParam=NULL)
 
BOOL AttachToWindow (HWND hWnd)
 
BOOL LoadMenu (ATL::_U_STRINGorID menu)
 
BOOL AttachMenu (HMENU hMenu)
 
BOOL LoadImages (ATL::_U_STRINGorID image)
 
BOOL LoadMappedImages (UINT nIDImage, UINT nFlags=0, LPCOLORMAP lpColorMap=NULL, int nMapSize=0)
 
BOOL _LoadImagesHelper (ATL::_U_STRINGorID image, bool bMapped, UINT nFlags=0, LPCOLORMAP lpColorMap=NULL, int nMapSize=0)
 
BOOL AddBitmap (ATL::_U_STRINGorID bitmap, int nCommandID)
 
BOOL AddBitmap (HBITMAP hBitmap, UINT nCommandID)
 
BOOL AddIcon (ATL::_U_STRINGorID icon, UINT nCommandID)
 
BOOL AddIcon (HICON hIcon, UINT nCommandID)
 
BOOL ReplaceBitmap (ATL::_U_STRINGorID bitmap, int nCommandID)
 
BOOL ReplaceBitmap (HBITMAP hBitmap, UINT nCommandID)
 
BOOL ReplaceIcon (ATL::_U_STRINGorID icon, UINT nCommandID)
 
BOOL ReplaceIcon (HICON hIcon, UINT nCommandID)
 
BOOL RemoveImage (int nCommandID)
 
BOOL RemoveAllImages ()
 
BOOL TrackPopupMenu (HMENU hMenu, UINT uFlags, int x, int y, LPTPMPARAMS lpParams=NULL)
 
BOOL SetMDIClient (HWND)
 
 ALT_MSG_MAP (1) ALT_MSG_MAP(2) ALT_MSG_MAP(3) LRESULT OnForwardMsg(UINT
 
LPARAM BOOL & if (pMsg->message >=WM_MOUSEFIRST &&pMsg->message<=WM_MOUSELAST) m_bKeyboardInput
 
else if (pMsg->message >=WM_KEYFIRST &&pMsg->message<=WM_KEYLAST) m_bKeyboardInput
 
 ProcessWindowMessage (pMsg->hwnd, pMsg->message, pMsg->wParam, pMsg->lParam, lRet, 3)
 
LRESULT OnCreate (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &)
 
LRESULT OnDestroy (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &)
 
LRESULT OnKeyDown (UINT, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnKeyUp (UINT, WPARAM wParam, LPARAM, BOOL &bHandled)
 
LRESULT OnChar (UINT, WPARAM wParam, LPARAM, BOOL &bHandled)
 
LRESULT OnSysKeyDown (UINT, WPARAM, LPARAM, BOOL &bHandled)
 
LRESULT OnSysKeyUp (UINT, WPARAM, LPARAM, BOOL &bHandled)
 
LRESULT OnSysChar (UINT, WPARAM, LPARAM, BOOL &bHandled)
 
LRESULT OnEraseBackground (UINT, WPARAM wParam, LPARAM, BOOL &bHandled)
 
LRESULT OnInitMenu (UINT, WPARAM, LPARAM, BOOL &bHandled)
 
LRESULT OnInitMenuPopup (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnMenuSelect (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnInternalAutoPopup (UINT, WPARAM wParam, LPARAM, BOOL &)
 
LRESULT OnInternalGetBar (UINT, WPARAM wParam, LPARAM, BOOL &)
 
LRESULT OnSettingChange (UINT, WPARAM wParam, LPARAM, BOOL &)
 
LRESULT OnWindowPosChanging (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &)
 
LRESULT OnMenuChar (UINT, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnKillFocus (UINT, WPARAM, LPARAM, BOOL &bHandled)
 
LRESULT OnDrawItem (UINT, WPARAM, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnMeasureItem (UINT, WPARAM, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnAPIGetMenu (UINT, WPARAM, LPARAM, BOOL &)
 
LRESULT OnAPITrackPopupMenu (UINT, WPARAM, LPARAM lParam, BOOL &)
 
LRESULT OnAPIGetCmdBar (UINT, WPARAM, LPARAM, BOOL &)
 
LRESULT OnParentHotItemChange (int, LPNMHDR pnmh, BOOL &bHandled)
 
LRESULT OnParentDropDown (int, LPNMHDR pnmh, BOOL &bHandled)
 
LRESULT OnParentInitMenuPopup (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnParentInternalGetBar (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnParentSysCommand (UINT, WPARAM wParam, LPARAM, BOOL &bHandled)
 
LRESULT OnParentAPIGetMenu (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnParentMenuChar (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnParentAPITrackPopupMenu (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnParentAPIGetCmdBar (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnParentSettingChange (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnParentDrawItem (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnParentMeasureItem (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnParentActivate (UINT, WPARAM wParam, LPARAM, BOOL &bHandled)
 
LRESULT OnParentCustomDraw (int, LPNMHDR pnmh, BOOL &bHandled)
 
void _ParentCustomDrawHelper (LPNMTBCUSTOMDRAW lpTBCustomDraw)
 
LRESULT OnHookMouseMove (UINT, WPARAM, LPARAM, BOOL &bHandled)
 
LRESULT OnHookSysKeyDown (UINT, WPARAM wParam, LPARAM, BOOL &bHandled)
 
LRESULT OnHookSysKeyUp (UINT, WPARAM wParam, LPARAM, BOOL &bHandled)
 
LRESULT OnHookSysChar (UINT, WPARAM wParam, LPARAM, BOOL &bHandled)
 
LRESULT OnHookKeyDown (UINT, WPARAM wParam, LPARAM, BOOL &bHandled)
 
LRESULT OnHookNextMenu (UINT, WPARAM, LPARAM, BOOL &bHandled)
 
LRESULT OnHookChar (UINT, WPARAM wParam, LPARAM, BOOL &bHandled)
 
void DrawItem (LPDRAWITEMSTRUCT lpDrawItemStruct)
 
void DrawItem3D (LPDRAWITEMSTRUCT lpDrawItemStruct)
 
void DrawItemFlat (LPDRAWITEMSTRUCT lpDrawItemStruct)
 
void DrawMenuText (CDCHandle &dc, RECT &rc, LPCTSTR lpstrText, COLORREF color)
 
void DrawBitmapDisabled (CDCHandle &dc, int nImage, POINT point, HBRUSH hBrushBackground=::GetSysColorBrush(COLOR_3DFACE), HBRUSH hBrush3DEffect=::GetSysColorBrush(COLOR_3DHILIGHT), HBRUSH hBrushDisabledImage=::GetSysColorBrush(COLOR_3DSHADOW))
 
BOOL Draw3DCheckmark (CDCHandle &dc, const RECT &rc, BOOL bSelected, BOOL bDisabled, BOOL bRadio, HBITMAP hBmpCheck)
 
BOOL DrawCheckmark (CDCHandle &dc, const RECT &rc, BOOL bSelected, BOOL bDisabled, BOOL bRadio, HBITMAP hBmpCheck)
 
void MeasureItem (LPMEASUREITEMSTRUCT lpMeasureItemStruct)
 
void DoPopupMenu (int nIndex, bool bAnimate)
 
BOOL DoTrackPopupMenu (HMENU hMenu, UINT uFlags, int x, int y, LPTPMPARAMS lpParams=NULL)
 
int GetPreviousMenuItem (int nBtn) const
 
int GetNextMenuItem (int nBtn) const
 
void GetSystemSettings ()
 
void TakeFocus ()
 
void GiveFocusBack ()
 
void ShowKeyboardCues (bool bShow)
 
bool CreateInternalImageList (int cImages)
 
- Static Public Member Functions inherited from WTL::CMDICommandBarCtrlImpl< CMDICommandBarCtrl >
static UINT _GetThemeChangedMsg ()
 
- Static Public Member Functions inherited from WTL::CCommandBarCtrlImpl< CMDICommandBarCtrl, CCommandBarCtrlBase, ATL::CControlWinTraits >
static LRESULT CALLBACK CreateHookProc (int nCode, WPARAM wParam, LPARAM lParam)
 
static LRESULT CALLBACK MessageHookProc (int nCode, WPARAM wParam, LPARAM lParam)
 
static UINT GetAutoPopupMessage ()
 
static UINT GetGetBarMessage ()
 
- Public Attributes inherited from WTL::CMDICommandBarCtrlImpl< CMDICommandBarCtrl >
ATL::CContainedWindow m_wndMDIClient
 
bool m_bChildMaximized
 
HWND m_hWndChildMaximized
 
HICON m_hIconChildMaximized
 
int m_nBtnPressed
 
int m_nBtnWasPressed
 
int m_cxyOffset
 
int m_cxIconWidth
 
int m_cyIconHeight
 
int m_cxBtnWidth
 
int m_cyBtnHeight
 
int m_cxLeft
 
int m_cxRight
 
HMODULE m_hThemeDLL
 
 m_hThemeDLL
 
HTHEME m_hTheme
 
PFN_DrawThemeBackground m_pfnDrawThemeBackground
 
PFN_DrawThemeParentBackground m_pfnDrawThemeParentBackground
 
WPARAM wParam
 
WPARAM LPARAM lParam
 
WPARAM LPARAM BOOL & bHandled
 
return lRet
 
- Public Attributes inherited from WTL::CCommandBarCtrlImpl< CMDICommandBarCtrl, CCommandBarCtrlBase, ATL::CControlWinTraits >
HMENU m_hMenu
 
HIMAGELIST m_hImageList
 
ATL::CSimpleValArray< WORD > m_arrCommand
 
DWORD m_dwExtendedStyle
 
ATL::CContainedWindow m_wndParent
 
bool m_bMenuActive
 
bool m_bAttachedMenu
 
bool m_bImagesVisible
 
bool m_bPopupItem
 
bool m_bContextMenu
 
bool m_bEscapePressed
 
bool m_bSkipMsg
 
bool m_bParentActive
 
bool m_bFlatMenus
 
bool m_bUseKeyboardCues
 
bool m_bShowKeyboardCues
 
bool m_bAllowKeyboardCues
 
bool m_bKeyboardInput
 
bool m_bAlphaImages
 
bool m_bLayoutRTL
 
bool m_bSkipPostDown
 
bool m_bVistaMenus
 
int m_nPopBtn
 
int m_nNextPopBtn
 
SIZE m_szBitmap
 
SIZE m_szButton
 
COLORREF m_clrMask
 
CFont m_fontMenu
 
UINT m_uSysKey
 
HWND m_hWndFocus
 
int m_cxExtraSpacing
 
 WPARAM
 
LPARAM lParam
 
LRESULT lRet
 
return lRet
 

The documentation for this class was generated from the following file: