diff options
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; } |