#include <CMenuToolbars.h>
|
virtual HRESULT | OnDeletingButton (const NMTOOLBAR *tb) override |
|
virtual HRESULT | InternalGetTooltip (INT iItem, INT index, DWORD_PTR dwData, LPWSTR pszText, INT cchTextMax) override |
|
virtual HRESULT | InternalExecuteItem (INT iItem, INT index, DWORD_PTR dwData) override |
|
virtual HRESULT | InternalPopupItem (INT iItem, INT index, DWORD_PTR dwData, BOOL keyInitiated) override |
|
virtual HRESULT | InternalHasSubMenu (INT iItem, INT index, DWORD_PTR dwData) override |
|
virtual HRESULT | InternalContextMenu (INT iItem, INT index, DWORD_PTR dwData, POINT pt) override |
|
Definition at line 141 of file CMenuToolbars.h.
◆ CMenuStaticToolbar()
CMenuStaticToolbar::CMenuStaticToolbar |
( |
CMenuBand * |
menuBand | ) |
|
◆ ~CMenuStaticToolbar()
CMenuStaticToolbar::~CMenuStaticToolbar |
( |
| ) |
|
|
virtual |
◆ FillToolbar()
Implements CMenuToolbarBase.
Definition at line 1185 of file CMenuToolbars.cpp.
1186{
1189
1190 if (clearFirst)
1191 {
1193 }
1194
1196 for (
i = 0;
i < ic;
i++)
1197 {
1199
1201
1205
1207 {
1208 TRACE(
"Error obtaining info for menu item at pos=%d\n",
i);
1209 continue;
1210 }
1211
1213
1215 {
1217 }
1219 {
1222
1225
1228
1231 {
1232 delete sminfo;
1234 }
1235
1237
1239 }
1240 }
1241
1243}
HRESULT _CallCBWithItemId(UINT Id, UINT uMsg, WPARAM wParam, LPARAM lParam)
#define HeapFree(x, y, z)
#define FAILED_UNEXPECTEDLY(hr)
GLuint GLuint GLsizei count
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
int WINAPI GetMenuItemCount(_In_opt_ HMENU)
BOOL WINAPI GetMenuItemInfoW(_In_ HMENU, _In_ UINT, _In_ BOOL, _Inout_ LPMENUITEMINFOW)
Referenced by CMenuBand::SetMenu(), and CMenuBand::SetSite().
◆ GetMenu()
◆ InternalContextMenu()
◆ InternalExecuteItem()
◆ InternalGetTooltip()
◆ InternalHasSubMenu()
◆ InternalPopupItem()
Reimplemented from CMenuToolbarBase.
Definition at line 1274 of file CMenuToolbars.cpp.
1275{
1277 if (!nfo)
1279
1281 {
1283 }
1284 else
1285 {
1286 CComPtr<IShellMenu> shellMenu;
1290
1292 }
1293}
static HANDLE ULONG_PTR dwData
◆ OnDeletingButton()
◆ SetMenu()
◆ m_hmenu
HMENU CMenuStaticToolbar::m_hmenu |
|
private |
◆ m_hwndMenu
HWND CMenuStaticToolbar::m_hwndMenu |
|
private |
The documentation for this class was generated from the following files: