diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-21 14:08:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-21 14:08:42 +0000 |
commit | b4523bc74a6afcc0428034f8b2726e1b2e226475 (patch) | |
tree | f08f1338e76d8bc3c63958050589b7dbf293f8a7 /src/modules/skin/sounds.cpp | |
parent | fece4176cb07bfe47dd5091a9c0eb6d69a6a107e (diff) |
- fix for the Netlib_Logf event
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@1623 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/skin/sounds.cpp')
-rw-r--r-- | src/modules/skin/sounds.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/modules/skin/sounds.cpp b/src/modules/skin/sounds.cpp index 59326aaa97..e9aa29ed9c 100644 --- a/src/modules/skin/sounds.cpp +++ b/src/modules/skin/sounds.cpp @@ -199,29 +199,29 @@ INT_PTR CALLBACK DlgProcSoundOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM break;
case DM_HIDEPANE:
- ShowWindow(GetDlgItem(hwndDlg, IDC_SGROUP), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDlg, IDC_NAME), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDlg, IDC_NAMEVAL), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDlg, IDC_SLOC), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDlg, IDC_LOCATION), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDlg, IDC_CHANGE), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDlg, IDC_PREVIEW), SW_HIDE);
- ShowWindow(GetDlgItem(hwndDlg, IDC_GETMORE), SW_HIDE);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_SGROUP), SW_HIDE);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_NAME), SW_HIDE);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_NAMEVAL), SW_HIDE);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_SLOC), SW_HIDE);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_LOCATION), SW_HIDE);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_CHANGE), SW_HIDE);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_PREVIEW), SW_HIDE);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_GETMORE), SW_HIDE);
break;
case DM_SHOWPANE:
- ShowWindow(GetDlgItem(hwndDlg, IDC_SGROUP), SW_SHOW);
- ShowWindow(GetDlgItem(hwndDlg, IDC_NAME), SW_SHOW);
- ShowWindow(GetDlgItem(hwndDlg, IDC_NAMEVAL), SW_SHOW);
- ShowWindow(GetDlgItem(hwndDlg, IDC_SLOC), SW_SHOW);
- ShowWindow(GetDlgItem(hwndDlg, IDC_LOCATION), SW_SHOW);
- ShowWindow(GetDlgItem(hwndDlg, IDC_CHANGE), SW_SHOW);
- ShowWindow(GetDlgItem(hwndDlg, IDC_PREVIEW), SW_SHOW);
- ShowWindow(GetDlgItem(hwndDlg, IDC_GETMORE), SW_SHOW);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_SGROUP), SW_SHOW);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_NAME), SW_SHOW);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_NAMEVAL), SW_SHOW);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_SLOC), SW_SHOW);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_LOCATION), SW_SHOW);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_CHANGE), SW_SHOW);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_PREVIEW), SW_SHOW);
+ ShowWindow( GetDlgItem(hwndDlg, IDC_GETMORE), SW_SHOW);
break;
case DM_CHECKENABLED:
- EnableWindow(GetDlgItem(hwndDlg, IDC_SOUNDTREE), IsDlgButtonChecked(hwndDlg, IDC_ENABLESOUNDS));
+ EnableWindow( GetDlgItem(hwndDlg, IDC_SOUNDTREE), IsDlgButtonChecked(hwndDlg, IDC_ENABLESOUNDS));
if ( !IsDlgButtonChecked(hwndDlg, IDC_ENABLESOUNDS))
SendMessage(hwndDlg, DM_HIDEPANE, 0, 0);
else if (TreeView_GetSelection(hwndTree) && TreeView_GetParent(hwndTree, TreeView_GetSelection(hwndTree)))
|