#include <CCopyMoveToMenu.h>
|
| CMoveToMenu () |
|
STDMETHODIMP | QueryContextMenu (HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT uFlags) override |
|
UINT | GetCaptionStringID () const override |
|
UINT | GetButtonStringID () const override |
|
UINT | GetActionTitleStringID () const override |
|
UINT | GetFileOp () const override |
|
LPCSTR | GetVerb () const override |
|
| ~CComObjectRootEx () |
|
ULONG | InternalAddRef () |
|
ULONG | InternalRelease () |
|
void | Lock () |
|
void | Unlock () |
|
HRESULT | _AtlInitialConstruct () |
|
| CComObjectRootBase () |
|
| ~CComObjectRootBase () |
|
void | SetVoid (void *) |
|
HRESULT | _AtlFinalConstruct () |
|
HRESULT | FinalConstruct () |
|
void | InternalFinalConstructAddRef () |
|
void | InternalFinalConstructRelease () |
|
void | FinalRelease () |
|
HRESULT | HandleMenuMsg ([in] UINT uMsg, [in] WPARAM wParam, [in] LPARAM lParam) |
|
HRESULT | QueryContextMenu ([in] HMENU hmenu, [in] UINT indexMenu, [in] UINT idCmdFirst, [in] UINT idCmdLast, [in] UINT uFlags) |
|
HRESULT | InvokeCommand ([in] LPCMINVOKECOMMANDINFO lpici) |
|
HRESULT | GetCommandString ([in] UINT_PTR idCmd, [in] UINT uType, [out] UINT *pwReserved, [out, size_is(cchMax)] LPSTR pszName, [in] UINT cchMax) |
|
HRESULT | QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject) |
|
ULONG | AddRef () |
|
ULONG | Release () |
|
HRESULT | SetSite ([in] IUnknown *pUnkSite) |
|
HRESULT | GetSite ([in] REFIID riid, [out, iid_is(riid)] PVOID *ppvSite) |
|
HRESULT | Initialize ([in] PCIDLIST_ABSOLUTE pidlFolder, [in] IDataObject *pdtobj, [in] HKEY hkeyProgID) |
|
Definition at line 84 of file CCopyMoveToMenu.h.
◆ CMoveToMenu()
CMoveToMenu::CMoveToMenu |
( |
| ) |
|
|
inline |
◆ GetActionTitleStringID()
UINT CMoveToMenu::GetActionTitleStringID |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetButtonStringID()
UINT CMoveToMenu::GetButtonStringID |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetCaptionStringID()
UINT CMoveToMenu::GetCaptionStringID |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetFileOp()
UINT CMoveToMenu::GetFileOp |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetVerb()
LPCSTR CMoveToMenu::GetVerb |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ QueryContextMenu()
Implements IContextMenu.
Definition at line 316 of file CCopyMoveToMenu.cpp.
321{
324
325 TRACE(
"CMoveToMenu::QueryContextMenu(%p, %u, %u, %u, %u)\n",
326 hMenu, indexMenu, idCmdFirst, idCmdLast,
uFlags);
327
328 if (
uFlags & (CMF_NOVERBS | CMF_VERBSONLY))
330
332
333
344 {
350 {
351 ++indexMenu;
353 }
354 }
355
356
366 {
368 ++indexMenu;
370 }
371
373}
#define MAKE_HRESULT(sev, fac, code)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
BOOL WINAPI GetMenuItemInfoW(_In_ HMENU, _In_ UINT, _In_ BOOL, _Inout_ LPMENUITEMINFOW)
#define MAKEINTRESOURCEW(i)
BOOL WINAPI InsertMenuItemW(_In_ HMENU, _In_ UINT, _In_ BOOL, _In_ LPCMENUITEMINFOW)
The documentation for this class was generated from the following files: