diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-11 18:30:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-11 18:30:49 +0000 |
commit | 009c7a01b9399f14be5c85b9343c3063b12e5c7e (patch) | |
tree | 1c0396712141c4b79f2a8478d19bc1d15321bf11 /plugins/HistoryStats/src/dlgoption_subcolumns.cpp | |
parent | 5dffb8d954968e1bd715bc62d0e3d51d5afb67c4 (diff) |
SetWindowLong -> SetWindowLongPtr;
GetWindowLong -> GetWindowLongPtr;
LONG -> LONG_PTR
git-svn-id: http://svn.miranda-ng.org/main/trunk@8559 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/dlgoption_subcolumns.cpp')
-rw-r--r-- | plugins/HistoryStats/src/dlgoption_subcolumns.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/HistoryStats/src/dlgoption_subcolumns.cpp b/plugins/HistoryStats/src/dlgoption_subcolumns.cpp index a1f84e054c..5b99629068 100644 --- a/plugins/HistoryStats/src/dlgoption_subcolumns.cpp +++ b/plugins/HistoryStats/src/dlgoption_subcolumns.cpp @@ -146,7 +146,7 @@ BOOL DlgOption::SubColumns::handleMsg(UINT msg, WPARAM wParam, LPARAM lParam) if (pNM->hdr.code == TVN_ITEMEXPANDING) {
if (pNM->action == TVE_COLLAPSE || pNM->action == TVE_COLLAPSERESET ||
(pNM->action == TVE_TOGGLE && pNM->itemNew.state & TVIS_EXPANDED)) {
- SetWindowLong(getHWnd(), DWLP_MSGRESULT, TRUE);
+ SetWindowLongPtr(getHWnd(), DWLP_MSGRESULT, TRUE);
return TRUE;
}
}
@@ -202,7 +202,7 @@ void DlgOption::SubColumns::onWMInitDialog() // int column info
HWND hInfo = GetDlgItem(getHWnd(), IDC_INFO);
- SetWindowLong(hInfo, GWL_STYLE, GetWindowLong(hInfo, GWL_STYLE) | TVS_NOHSCROLL);
+ SetWindowLongPtr(hInfo, GWL_STYLE, GetWindowLongPtr(hInfo, GWL_STYLE) | TVS_NOHSCROLL);
m_bShowInfo = g_pSettings->getShowColumnInfo();
toggleInfo();
@@ -340,7 +340,7 @@ void DlgOption::SubColumns::addCol(int nCol) }
}
-void DlgOption::SubColumns::onColSelChanging(HANDLE hItem, DWORD dwData)
+void DlgOption::SubColumns::onColSelChanging(HANDLE hItem, INT_PTR dwData)
{
if (hItem) {
Column* pCol = reinterpret_cast<Column*>(m_Columns.getItemData(hItem));
@@ -374,7 +374,7 @@ void DlgOption::SubColumns::onColSelChanging(HANDLE hItem, DWORD dwData) TreeView_DeleteAllItems(hInfo);
}
-void DlgOption::SubColumns::onColSelChanged(HANDLE hItem, DWORD dwData)
+void DlgOption::SubColumns::onColSelChanged(HANDLE hItem, INT_PTR dwData)
{
m_Options.setRedraw(false);
m_Options.deleteAllItems();
@@ -511,7 +511,7 @@ void DlgOption::SubColumns::onColItemDropped(HANDLE hItem, HANDLE hDropTarget, B getParent()->settingsChanged();
}
-void DlgOption::SubColumns::onBandClicked(HANDLE hButton, DWORD dwData)
+void DlgOption::SubColumns::onBandClicked(HANDLE hButton, INT_PTR dwData)
{
switch (dwData) {
case caAdd:
@@ -532,7 +532,7 @@ void DlgOption::SubColumns::onBandClicked(HANDLE hButton, DWORD dwData) }
}
-void DlgOption::SubColumns::onBandDropDown(HANDLE hButton, DWORD dwData)
+void DlgOption::SubColumns::onBandDropDown(HANDLE hButton, INT_PTR dwData)
{
if (dwData == caAdd) {
// determine position for popup menu
@@ -635,7 +635,7 @@ void DlgOption::SubColumns::onMoveDown() getParent()->settingsChanged();
}
-void DlgOption::SubColumns::onColumnButton(HANDLE hButton, DWORD dwData)
+void DlgOption::SubColumns::onColumnButton(HANDLE hButton, INT_PTR dwData)
{
if (dwData == Settings::biFilterWords) {
HANDLE hSel = m_Columns.getSelection();
|