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/optionsctrldefs.h | |
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/optionsctrldefs.h')
-rw-r--r-- | plugins/HistoryStats/src/optionsctrldefs.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/HistoryStats/src/optionsctrldefs.h b/plugins/HistoryStats/src/optionsctrldefs.h index 2b6bbe3f33..fd9f220ed1 100644 --- a/plugins/HistoryStats/src/optionsctrldefs.h +++ b/plugins/HistoryStats/src/optionsctrldefs.h @@ -21,8 +21,8 @@ public: OCM_SETITEMLABEL = WM_USER + 7, // (HANDLE hItem, const TCHAR* szLabel) -> #
OCM_ISITEMENABLED = WM_USER + 8, // (HANDLE hItem, #) -> BOOL bEnabled
OCM_ENABLEITEM = WM_USER + 9, // (HANDLE hItem, BOOL bEnable) -> #
- OCM_GETITEMDATA = WM_USER + 10, // (HANDLE hItem, #) -> DWORD dwData
- OCM_SETITEMDATA = WM_USER + 11, // (HANDLE hItem, DWORD dwData) -> #
+ OCM_GETITEMDATA = WM_USER + 10, // (HANDLE hItem, #) -> INT_PTR dwData
+ OCM_SETITEMDATA = WM_USER + 11, // (HANDLE hItem, INT_PTR dwData) -> #
OCM_ISITEMCHECKED = WM_USER + 12, // (HANDLE hItem, #) -> BOOL bChecked [Check/Radio]
OCM_CHECKITEM = WM_USER + 13, // (HANDLE hItem, BOOL bCheck) -> # [Check/Radio (ignores bCheck)]
OCM_GETRADIOCHECKED = WM_USER + 14, // (HANDLE hRadio, #) -> int nChecked [Radio]
@@ -90,46 +90,46 @@ public: struct OCGROUP {
DWORD dwFlags;
TCHAR* szLabel;
- DWORD dwData;
+ INT_PTR dwData;
};
struct OCCHECK {
DWORD dwFlags;
TCHAR* szLabel;
- DWORD dwData;
+ INT_PTR dwData;
};
struct OCRADIO {
DWORD dwFlags;
TCHAR* szLabel;
- DWORD dwData;
+ INT_PTR dwData;
HANDLE hSibling;
};
struct OCEDIT {
DWORD dwFlags;
TCHAR* szLabel;
- DWORD dwData;
+ INT_PTR dwData;
TCHAR* szEdit;
};
struct OCCOMBO {
DWORD dwFlags;
TCHAR* szLabel;
- DWORD dwData;
+ INT_PTR dwData;
};
struct OCBUTTON {
DWORD dwFlags;
TCHAR* szLabel;
- DWORD dwData;
+ INT_PTR dwData;
TCHAR* szButton;
};
struct OCDATETIME {
DWORD dwFlags;
TCHAR* szLabel;
- DWORD dwData;
+ INT_PTR dwData;
TCHAR* szFormat;
DWORD dwDateTime;
};
@@ -137,20 +137,20 @@ public: struct OCCOLOR {
DWORD dwFlags;
TCHAR* szLabel;
- DWORD dwData;
+ INT_PTR dwData;
COLORREF crColor;
};
struct NMOPTIONSCTRL {
NMHDR hdr;
HANDLE hItem;
- DWORD dwData;
+ INT_PTR dwData;
};
struct NMOPTIONSCTRLDROP {
NMHDR hdr;
HANDLE hItem;
- DWORD dwData;
+ INT_PTR dwData;
HANDLE hDropTarget;
DWORD dwDropTargetData;
BOOL bAbove;
|