#include "precomp.h"
Go to the source code of this file.
|
| WINE_DEFAULT_DEBUG_CHANNEL (fprop) |
|
static void | IntGetDefaultShellState (REGSHELLSTATE &rss) |
|
static BOOL | IntSetShellStateSettings (BOOL bDoubleClick, BOOL bUseCommonTasks) |
|
static BOOL | IntGetShellStateSettings (BOOL &bDoubleClick, BOOL &bUseCommonTasks) |
|
static BOOL | IntSetUnderlineState (BOOL bIconUnderline) |
|
static BOOL | IntGetUnderlineState (VOID) |
|
static BOOL | IntSetNewWindowMode (BOOL bNewWindowMode) |
|
static BOOL | IntGetNewWindowMode (VOID) |
|
static VOID | GeneralDlg_UpdateIcons (HWND hDlg, UINT nCtrlID, PGENERAL_DIALOG pGeneral) |
|
static void | GeneralDlg_StoreToUI (HWND hwndDlg, BOOL bDoubleClick, BOOL bUseCommonTasks, BOOL bUnderline, BOOL bNewWindowMode, PGENERAL_DIALOG pGeneral) |
|
static BOOL | GeneralDlg_OnInitDialog (HWND hwndDlg, PGENERAL_DIALOG pGeneral) |
|
static void | GeneralDlg_OnRestoreDefaults (HWND hwndDlg, PGENERAL_DIALOG pGeneral) |
|
static BOOL | GeneralDlg_OnApply (HWND hwndDlg, PGENERAL_DIALOG pGeneral) |
|
INT_PTR CALLBACK | FolderOptionsGeneralDlg (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
◆ REGSHELLSTATE_SIZE
#define REGSHELLSTATE_SIZE 0x24 |
◆ GENERAL_DIALOG
◆ PGENERAL_DIALOG
◆ PREGSHELLSTATE
◆ REGSHELLSTATE
◆ FolderOptionsGeneralDlg()
Definition at line 362 of file general.cpp.
367{
369
370 switch (uMsg)
371 {
377
380 {
390 {
392
393
395 }
396 break;
399 {
401
402
404 }
405 break;
406 }
407 break;
408
410 {
412
414 {
416 break;
417
420 }
421 break;
422 }
423
428 break;
429
430 default:
432 }
434}
static BOOL GeneralDlg_OnInitDialog(HWND hwndDlg, PGENERAL_DIALOG pGeneral)
static VOID GeneralDlg_UpdateIcons(HWND hDlg, UINT nCtrlID, PGENERAL_DIALOG pGeneral)
static void GeneralDlg_OnRestoreDefaults(HWND hwndDlg, PGENERAL_DIALOG pGeneral)
static BOOL GeneralDlg_OnApply(HWND hwndDlg, PGENERAL_DIALOG pGeneral)
#define PropSheet_Changed(d, w)
#define IDC_FOLDER_OPTIONS_CLASSICFOLDERS
#define IDC_FOLDER_OPTIONS_ULBROWSER
#define IDC_FOLDER_OPTIONS_SINGLECLICK
#define IDC_FOLDER_OPTIONS_COMMONTASKS
#define IDC_FOLDER_OPTIONS_SAMEWINDOW
#define IDC_FOLDER_OPTIONS_DOUBLECLICK
#define IDC_FOLDER_OPTIONS_ULPOINT
#define IDC_FOLDER_OPTIONS_RESTORE
#define IDC_FOLDER_OPTIONS_OWNWINDOW
struct tagNMHDR * LPNMHDR
HWND WINAPI GetParent(_In_ HWND)
BOOL WINAPI DestroyIcon(_In_ HICON)
Referenced by CFolderOptions::AddPages(), and ShowFolderOptionsDialogThreadProc().
◆ GeneralDlg_OnApply()
Definition at line 348 of file general.cpp.
349{
354
359}
static BOOL IntSetShellStateSettings(BOOL bDoubleClick, BOOL bUseCommonTasks)
static BOOL IntSetUnderlineState(BOOL bIconUnderline)
static BOOL IntSetNewWindowMode(BOOL bNewWindowMode)
UINT WINAPI IsDlgButtonChecked(_In_ HWND, _In_ int)
Referenced by FolderOptionsGeneralDlg().
◆ GeneralDlg_OnInitDialog()
Definition at line 319 of file general.cpp.
320{
325
327
328 GeneralDlg_StoreToUI(hwndDlg, bDoubleClick, bUseCommonTasks, bUnderline, bNewWindowMode, pGeneral);
330
332}
static BOOL IntGetNewWindowMode(VOID)
static BOOL IntGetUnderlineState(VOID)
static BOOL IntGetShellStateSettings(BOOL &bDoubleClick, BOOL &bUseCommonTasks)
static void GeneralDlg_StoreToUI(HWND hwndDlg, BOOL bDoubleClick, BOOL bUseCommonTasks, BOOL bUnderline, BOOL bNewWindowMode, PGENERAL_DIALOG pGeneral)
Referenced by FolderOptionsGeneralDlg().
◆ GeneralDlg_OnRestoreDefaults()
◆ GeneralDlg_StoreToUI()
Definition at line 283 of file general.cpp.
285{
286 if (bUseCommonTasks)
288 else
290
291 if (bDoubleClick)
293 else
295
296 if (bNewWindowMode)
298 else
300
301 if (!bDoubleClick)
302 {
305 if (bUnderline)
307 else
309 }
310 else
311 {
315 }
316}
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
BOOL WINAPI CheckRadioButton(_In_ HWND, _In_ int, _In_ int, _In_ int)
Referenced by GeneralDlg_OnInitDialog(), and GeneralDlg_OnRestoreDefaults().
◆ GeneralDlg_UpdateIcons()
Definition at line 195 of file general.cpp.
196{
199
200
205
206 if (lpTaskIconName)
207 {
210 if (hTaskIcon)
211 {
214 }
215 }
216
217
222
223 if (lpFolderIconName)
224 {
227 if (hFolderIcon)
228 {
231 }
232 }
233
234
239
240 if (lpClickIconName)
241 {
244 if (hClickIcon)
245 {
248 }
249 }
250
251
252 if (hTaskIcon)
253 {
256 }
257 if (hFolderIcon)
258 {
261 }
262 if (hClickIcon)
263 {
266 }
267
269 {
272 }
273
275 {
279 }
280}
#define shell32_hInstance
#define IDI_SHELL_OPEN_IN_SOME_WINDOW
#define IDC_FOLDER_OPTIONS_FOLDERICON
#define IDI_SHELL_OPEN_IN_NEW_WINDOW
#define IDI_SHELL_CLASSIC_FOLDERS
#define IDI_SHELL_SINGLE_CLICK_TO_OPEN
#define IDC_FOLDER_OPTIONS_CLICKICON
#define IDI_SHELL_DOUBLE_CLICK_TO_OPEN
#define IDC_FOLDER_OPTIONS_TASKICON
#define IDI_SHELL_SHOW_COMMON_TASKS
Referenced by FolderOptionsGeneralDlg(), GeneralDlg_OnInitDialog(), and GeneralDlg_OnRestoreDefaults().
◆ IntGetDefaultShellState()
◆ IntGetNewWindowMode()
static BOOL IntGetNewWindowMode |
( |
VOID |
| ) |
|
|
static |
◆ IntGetShellStateSettings()
static BOOL IntGetShellStateSettings |
( |
BOOL & |
bDoubleClick, |
|
|
BOOL & |
bUseCommonTasks |
|
) |
| |
|
static |
Definition at line 110 of file general.cpp.
111{
116 bUseCommonTasks =
FALSE;
117
118
123
127}
static LSTATUS(WINAPI *pRegDeleteTreeW)(HKEY
DWORD WINAPI SHGetValueW(HKEY hKey, LPCWSTR lpszSubKey, LPCWSTR lpszValue, LPDWORD pwType, LPVOID pvData, LPDWORD pcbData)
static const LPCWSTR s_pszExplorerKey
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
#define HKEY_CURRENT_USER
Referenced by GeneralDlg_OnInitDialog().
◆ IntGetUnderlineState()
static BOOL IntGetUnderlineState |
( |
VOID |
| ) |
|
|
static |
◆ IntSetNewWindowMode()
static BOOL IntSetNewWindowMode |
( |
BOOL |
bNewWindowMode | ) |
|
|
static |
◆ IntSetShellStateSettings()
static BOOL IntSetShellStateSettings |
( |
BOOL |
bDoubleClick, |
|
|
BOOL |
bUseCommonTasks |
|
) |
| |
|
static |
Definition at line 67 of file general.cpp.
68{
72
73
78 &rss,
81 {
83 }
84
85
88
89
95 &rss,
99
102}
DWORD WINAPI SHSetValueW(HKEY hKey, LPCWSTR lpszSubKey, LPCWSTR lpszValue, DWORD dwType, LPCVOID pvData, DWORD cbData)
static void IntGetDefaultShellState(REGSHELLSTATE &rss)
BOOL WINAPI SHSettingsChanged(LPCVOID unused, LPCWSTR pszKey)
Referenced by GeneralDlg_OnApply().
◆ IntSetUnderlineState()
static BOOL IntSetUnderlineState |
( |
BOOL |
bIconUnderline | ) |
|
|
static |
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
fprop |
| ) |
|
◆ s_pszExplorerKey