#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 331 of file CCopyMoveToMenu.cpp.
336{
339
340 TRACE(
"CMoveToMenu::QueryContextMenu(%p, %u, %u, %u, %u)\n",
341 hMenu, indexMenu, idCmdFirst, idCmdLast,
uFlags);
342
343 if (
uFlags & (CMF_NOVERBS | CMF_VERBSONLY))
345
347
348
359 {
365 {
366 ++indexMenu;
368 }
369 }
370
371
381 {
383 ++indexMenu;
385 }
386
388}
#define MAKE_HRESULT(sev, fac, code)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
#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: