|
Public Types inherited from WTL::CCommandBarCtrlImpl< CCommandBarCtrl > |
enum | _CmdBarDrawConstants |
|
enum | |
|
enum | |
|
Public Member Functions inherited from WTL::CCommandBarCtrlImpl< CCommandBarCtrl > |
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::CCommandBarCtrlImpl< CCommandBarCtrl > |
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::CCommandBarCtrlImpl< CCommandBarCtrl > |
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 |
|