diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-17 17:49:43 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-17 17:49:43 +0200 |
commit | bb22bc506676fd268ded3b3d6c7b7acea5dc2db9 (patch) | |
tree | f3df0eca434f86ddc70aab0410a5a4bcd4559b2a /c/listview.cpp | |
parent | cd5ff302d1b03edb6fe81254c585e0e88c8e71ee (diff) | |
download | EpisodeBrowser-bb22bc506676fd268ded3b3d6c7b7acea5dc2db9.tar.gz |
Update type names and variable prefixes.
Diffstat (limited to 'c/listview.cpp')
-rw-r--r-- | c/listview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/c/listview.cpp b/c/listview.cpp index 3bec5ab..f70abe5 100644 --- a/c/listview.cpp +++ b/c/listview.cpp @@ -43,10 +43,10 @@ HWND ListView::Handle() const return m_hWnd; } -void ListView::UpdateTheme(const int bThemeActive) +void ListView::UpdateTheme(const BOOL bThemeActive) { DWORD dwStyle; - LPTSTR tszTheme; + const TCHAR* tszTheme; WORD wAction; extern int g_bThemes; @@ -76,7 +76,7 @@ LRESULT CALLBACK ListView::WndProc(const HWND hWnd, const UINT uMsg, { switch (uMsg) { case WM_NOTIFY: - switch (((LPNMHDR)lParam)->code) { + switch (((NMHDR*)lParam)->code) { case HDN_ENDTRACK: UpdateLayout(); return TRUE; @@ -90,10 +90,10 @@ LRESULT CALLBACK ListView::WndProc(const HWND hWnd, const UINT uMsg, LRESULT CALLBACK WndProc(const HWND hWnd, const UINT uMsg, const WPARAM wParam, const LPARAM lParam) { - ListView* const lpLv = (ListView*)GetProp(hWnd, TEXT("this")); + ListView* const pLv = (ListView*)GetProp(hWnd, TEXT("this")); if (uMsg == WM_DESTROY) RemoveProp(hWnd, TEXT("this")); - return lpLv? lpLv->WndProc(hWnd, uMsg, wParam, lParam): FALSE; + return pLv? pLv->WndProc(hWnd, uMsg, wParam, lParam): FALSE; } |