ReactOS 0.4.16-dev-340-g0540c21
|
#include <CNewMenu.h>
Classes | |
struct | SHELLNEW_ITEM |
Private Types | |
enum | SHELLNEW_TYPE { SHELLNEW_TYPE_INVALID = -1 , SHELLNEW_TYPE_COMMAND = 1 , SHELLNEW_TYPE_DATA = 2 , SHELLNEW_TYPE_FILENAME = 4 , SHELLNEW_TYPE_NULLFILE = 8 } |
Private Member Functions | |
SHELLNEW_ITEM * | LoadItem (LPCWSTR pwszExt) |
void | UnloadItem (SHELLNEW_ITEM *pItem) |
void | UnloadAllItems () |
BOOL | CacheItems () |
BOOL | LoadCachedItems () |
BOOL | LoadAllItems () |
UINT | InsertShellNewItems (HMENU hMenu, UINT idFirst, UINT idMenu) |
SHELLNEW_ITEM * | FindItemFromIdOffset (UINT IdOffset) |
HRESULT | CreateNewFolder (LPCMINVOKECOMMANDINFO lpici) |
HRESULT | CreateNewItem (SHELLNEW_ITEM *pItem, LPCMINVOKECOMMANDINFO lpcmi) |
HRESULT | SelectNewItem (LONG wEventId, UINT uFlags, LPWSTR pszName, BOOL bRename) |
HRESULT | NewItemByCommand (SHELLNEW_ITEM *pItem, LPCWSTR wszPath) |
HRESULT | NewItemByNonCommand (SHELLNEW_ITEM *pItem, LPWSTR wszName, DWORD cchNameMax, LPCWSTR wszPath) |
Private Attributes | |
LPITEMIDLIST | m_pidlFolder |
SHELLNEW_ITEM * | m_pItems |
SHELLNEW_ITEM * | m_pLinkItem |
CComPtr< IUnknown > | m_pSite |
HMENU | m_hSubMenu |
UINT | m_idCmdFirst |
UINT | m_idCmdFolder |
UINT | m_idCmdLink |
BOOL | m_bCustomIconFolder |
BOOL | m_bCustomIconLink |
HICON | m_hIconFolder |
HICON | m_hIconLink |
Definition at line 28 of file CNewMenu.h.
|
private |
Enumerator | |
---|---|
SHELLNEW_TYPE_INVALID | |
SHELLNEW_TYPE_COMMAND | |
SHELLNEW_TYPE_DATA | |
SHELLNEW_TYPE_FILENAME | |
SHELLNEW_TYPE_NULLFILE |
Definition at line 36 of file CNewMenu.h.
CNewMenu::CNewMenu | ( | ) |
Definition at line 28 of file CNewMenu.cpp.
CNewMenu::~CNewMenu | ( | ) |
Definition at line 43 of file CNewMenu.cpp.
|
private |
Definition at line 176 of file CNewMenu.cpp.
Referenced by LoadAllItems().
|
private |
Definition at line 452 of file CNewMenu.cpp.
Referenced by InvokeCommand().
|
private |
Definition at line 580 of file CNewMenu.cpp.
Referenced by InvokeCommand().
|
private |
Definition at line 391 of file CNewMenu.cpp.
Referenced by HandleMenuMsg2(), and InvokeCommand().
|
override |
Implements IContextMenu.
Definition at line 691 of file CNewMenu.cpp.
|
override |
Definition at line 623 of file CNewMenu.cpp.
|
override |
Implements IContextMenu3.
Definition at line 712 of file CNewMenu.cpp.
|
override |
Implements IShellExtInit.
Definition at line 774 of file CNewMenu.cpp.
Definition at line 323 of file CNewMenu.cpp.
Referenced by QueryContextMenu().
|
override |
Implements IContextMenu.
Definition at line 670 of file CNewMenu.cpp.
|
private |
Definition at line 306 of file CNewMenu.cpp.
Referenced by InsertShellNewItems().
|
private |
Definition at line 248 of file CNewMenu.cpp.
Referenced by LoadAllItems().
|
private |
Definition at line 83 of file CNewMenu.cpp.
Referenced by CacheItems(), and LoadCachedItems().
|
private |
Definition at line 481 of file CNewMenu.cpp.
Referenced by CreateNewItem().
|
private |
Definition at line 524 of file CNewMenu.cpp.
Referenced by CreateNewItem().
|
override |
Implements IContextMenu.
Definition at line 630 of file CNewMenu.cpp.
|
private |
Definition at line 413 of file CNewMenu.cpp.
Referenced by CreateNewFolder(), and NewItemByNonCommand().
|
override |
Implements IObjectWithSite.
Definition at line 617 of file CNewMenu.cpp.
|
private |
Definition at line 68 of file CNewMenu.cpp.
Referenced by LoadAllItems(), and ~CNewMenu().
|
private |
Definition at line 55 of file CNewMenu.cpp.
Referenced by UnloadAllItems().
|
private |
Definition at line 62 of file CNewMenu.h.
Referenced by Initialize(), and ~CNewMenu().
|
private |
Definition at line 62 of file CNewMenu.h.
Referenced by Initialize(), and ~CNewMenu().
|
private |
Definition at line 63 of file CNewMenu.h.
Referenced by HandleMenuMsg2(), Initialize(), and ~CNewMenu().
|
private |
Definition at line 63 of file CNewMenu.h.
Referenced by HandleMenuMsg2(), Initialize(), and ~CNewMenu().
|
private |
Definition at line 60 of file CNewMenu.h.
Referenced by FindItemFromIdOffset(), and QueryContextMenu().
|
private |
Definition at line 61 of file CNewMenu.h.
Referenced by FindItemFromIdOffset(), HandleMenuMsg2(), InsertShellNewItems(), and InvokeCommand().
|
private |
Definition at line 61 of file CNewMenu.h.
Referenced by FindItemFromIdOffset(), HandleMenuMsg2(), InsertShellNewItems(), and InvokeCommand().
|
private |
Definition at line 61 of file CNewMenu.h.
Referenced by FindItemFromIdOffset(), HandleMenuMsg2(), and InsertShellNewItems().
|
private |
Definition at line 56 of file CNewMenu.h.
Referenced by CreateNewFolder(), CreateNewItem(), Initialize(), and ~CNewMenu().
|
private |
Definition at line 57 of file CNewMenu.h.
Referenced by CacheItems(), InsertShellNewItems(), LoadAllItems(), LoadCachedItems(), and UnloadAllItems().
|
private |
Definition at line 58 of file CNewMenu.h.
Referenced by CacheItems(), CreateNewItem(), FindItemFromIdOffset(), InsertShellNewItems(), LoadCachedItems(), NewItemByNonCommand(), and UnloadAllItems().
|
private |
Definition at line 59 of file CNewMenu.h.
Referenced by GetSite(), SelectNewItem(), and SetSite().