Go to the source code of this file.
◆ I_CHECKED
◆ I_UNCHECKED
◆ FN_CUSTOM_GET
◆ FN_CUSTOM_SET
◆ AddCustomItem()
Definition at line 197 of file startmnucust.cpp.
198{
200 {
202 return;
203 }
204
207
210
212 Insert.item.pszText = szText;
213 Insert.item.lParam =
entry->id;
217}
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
#define TVIS_STATEIMAGEMASK
#define INDEXTOSTATEIMAGEMASK(i)
#define TreeView_InsertItem(hwnd, lpis)
DWORD WINAPI SHRestricted(RESTRICTIONS rest)
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
Referenced by CustomizeClassic_OnInitDialog().
◆ ClearRecentAndMru()
VOID ClearRecentAndMru |
( |
| ) |
|
◆ CustomGetAdvanced()
Definition at line 125 of file startmnucust.cpp.
126{
128}
BOOL GetAdvancedBool(IN LPCWSTR pszValueName, IN BOOL bDefaultValue)
◆ CustomGetSmallStartMenu()
◆ CustomizeClassic_OnInitDialog()
static void CustomizeClassic_OnInitDialog |
( |
HWND |
hwnd | ) |
|
|
static |
Definition at line 219 of file startmnucust.cpp.
220{
222
224
227
229 {
231 }
232}
#define IDC_CLASSICSTART_SETTINGS
static const CUSTOM_ENTRY s_CustomEntries[]
static VOID InitializeClearButton(HWND hwnd)
static VOID AddCustomItem(HWND hTreeView, const CUSTOM_ENTRY *entry)
#define GetWindowLongPtrW
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
#define SetWindowLongPtrW
Referenced by CustomizeClassicProc().
◆ CustomizeClassic_OnOK()
static BOOL CustomizeClassic_OnOK |
( |
HWND |
hwnd | ) |
|
|
static |
Definition at line 234 of file startmnucust.cpp.
235{
237
241 {
245
248 {
250 continue;
251
253 {
254 TRACE(
"%p: %d\n",
item.lParam, bChecked);
256 break;
257 }
258 }
259 }
260
264}
#define TreeView_GetNextVisible(hwnd, hitem)
#define TreeView_GetItem(hwnd, pitem)
#define TreeView_GetRoot(hwnd)
LRESULT WINAPI SendMessageTimeoutW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM, _In_ UINT, _In_ UINT, _Out_opt_ PDWORD_PTR)
Referenced by CustomizeClassicProc().
◆ CustomizeClassicProc()
Definition at line 266 of file startmnucust.cpp.
267{
269 {
275 {
278 break;
281 break;
284 break;
288 break;
292 break;
295 break;
296 }
297 break;
298 default:
299 break;
300 }
301
303}
#define IDC_CLASSICSTART_ADVANCED
#define IDC_CLASSICSTART_REMOVE
#define IDC_CLASSICSTART_CLEAR
#define IDC_CLASSICSTART_ADD
static const WCHAR Message[]
VOID OnRemoveStartmenuItems(HWND hDlg)
VOID OnAdvancedStartMenuItems()
static BOOL CustomizeClassic_OnOK(HWND hwnd)
static void CustomizeClassic_OnInitDialog(HWND hwnd)
VOID OnAddStartMenuItems(HWND hDlg)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
Referenced by ShowCustomizeClassic().
◆ CustomSetAdvanced()
Definition at line 130 of file startmnucust.cpp.
131{
133}
BOOL SetAdvancedDword(IN LPCWSTR pszValueName, IN DWORD dwValue)
◆ CustomSetSmallStartMenu()
◆ HandleMruData()
static BOOL HandleMruData |
( |
BOOL |
Delete | ) |
|
|
static |
Definition at line 69 of file startmnucust.cpp.
70{
72 {
75 if (*pszKey != 'S')
76 {
77 wsprintfW(szKey,
L"%s\\%s",
L"Software\\Microsoft\\Windows\\CurrentVersion", pszKey);
78 pszKey = szKey;
79 }
80
83 {
85 }
87 {
90 }
91 }
93}
BOOL Delete(LPCTSTR ServiceName)
#define RegCloseKey(hKey)
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
DWORD WINAPI SHDeleteKeyW(HKEY hKey, LPCWSTR lpszSubKey)
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
static const PCWSTR g_MruKeys[]
#define HKEY_CURRENT_USER
int WINAPIV wsprintfW(_Out_ LPWSTR, _In_ _Printf_format_string_ LPCWSTR,...)
Referenced by ClearRecentAndMru(), and InitializeClearButton().
◆ InitializeClearButton()
static VOID InitializeClearButton |
( |
HWND |
hwnd | ) |
|
|
static |
◆ OnAddStartMenuItems()
Definition at line 17 of file startmnucust.cpp.
18{
20
22 {
26 }
27}
HRESULT WINAPI SHGetFolderPathW(HWND hwndOwner, int nFolder, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath)
HINSTANCE WINAPI ShellExecuteW(HWND hwnd, LPCWSTR lpVerb, LPCWSTR lpFile, LPCWSTR lpParameters, LPCWSTR lpDirectory, INT nShowCmd)
STRSAFEAPI StringCchCatW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszSrc)
Referenced by CustomizeClassicProc().
◆ OnAdvancedStartMenuItems()
VOID OnAdvancedStartMenuItems |
( |
| ) |
|
◆ OnRemoveStartmenuItems()
VOID OnRemoveStartmenuItems |
( |
HWND |
hDlg | ) |
|
◆ RecentHasShortcut()
static BOOL RecentHasShortcut |
( |
HWND |
hwnd | ) |
|
|
static |
Definition at line 44 of file startmnucust.cpp.
45{
49
50
56
59}
#define INVALID_HANDLE_VALUE
HANDLE WINAPI FindFirstFileW(IN LPCWSTR lpFileName, OUT LPWIN32_FIND_DATAW lpFindFileData)
BOOL WINAPI FindClose(HANDLE hFindFile)
#define CSIDL_FLAG_CREATE
Referenced by InitializeClearButton().
◆ ShowCustomizeClassic()
◆ g_MruKeys
Initial value:=
{
L"Software\\Microsoft\\Internet Explorer\\TypedURLs",
L"Explorer\\Comdlg32\\OpenSaveMRU",
L"Explorer\\Comdlg32\\LastVisitedMRU",
}
Definition at line 61 of file startmnucust.cpp.
Referenced by HandleMruData().
◆ s_CustomEntries