OSDN Git Service
(root)
/
ffftp
/
ffftp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix project files.
[ffftp/ffftp.git]
/
lvtips.c
diff --git
a/lvtips.c
b/lvtips.c
index
6ea8524
..
dcda9fb
100644
(file)
--- a/
lvtips.c
+++ b/
lvtips.c
@@
-299,7
+299,9
@@
static int CellRectFromPoint(HWND hWnd, POINT point, RECT *cellrect, int *col)
int Ret;
\r
\r
Ret = -1;
\r
int Ret;
\r
\r
Ret = -1;
\r
- if((GetWindowLong(hWnd, GWL_STYLE) & LVS_TYPEMASK) == LVS_REPORT )
\r
+ // 64ビット対応
\r
+// if((GetWindowLong(hWnd, GWL_STYLE) & LVS_TYPEMASK) == LVS_REPORT )
\r
+ if((GetWindowLongPtr(hWnd, GWL_STYLE) & LVS_TYPEMASK) == LVS_REPORT )
\r
{
\r
row = ListView_GetTopIndex(hWnd);
\r
bottom = row + ListView_GetCountPerPage(hWnd);
\r
{
\r
row = ListView_GetTopIndex(hWnd);
\r
bottom = row + ListView_GetCountPerPage(hWnd);
\r