diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-27 02:06:28 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-27 02:06:28 +0000 |
commit | 0a7c9bab72e6bc7a6cfbd0ac908f9c35b5eb31d9 (patch) | |
tree | 65a0827547d1240575fdf038522db8c710684f87 | |
parent | 7c6899953550c3a1f6a4ce611a04f24bd0e232f7 (diff) |
fix for tip position (ansi function)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@63 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r-- | tipper/message_pump.cpp | 3 | ||||
-rw-r--r-- | tipper/tipper.mdsp | 8 | ||||
-rw-r--r-- | tipper/version.h | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/tipper/message_pump.cpp b/tipper/message_pump.cpp index ae679c0..66013b7 100644 --- a/tipper/message_pump.cpp +++ b/tipper/message_pump.cpp @@ -124,6 +124,7 @@ int ShowTip(WPARAM wParam, LPARAM lParam) { if(wParam) { // wParam is char pointer containing text - e.g. status bar tooltip
clcit2->text = a2t((char *)wParam);
+ GetCursorPos(&clcit2->ptCursor);
}
PostMPMessage(MUM_CREATEPOPUP, 0, (LPARAM)clcit2);
@@ -143,7 +144,7 @@ int ShowTipW(WPARAM wParam, LPARAM lParam) { if(wParam) { // wParam is char pointer containing text - e.g. status bar tooltip
clcit2->text = _tcsdup((TCHAR *)wParam); - GetCursorPos(&clcit2->ptCursor); // cursor pos broken?
+ GetCursorPos(&clcit2->ptCursor);
}
PostMPMessage(MUM_CREATEPOPUP, 0, (LPARAM)clcit2);
diff --git a/tipper/tipper.mdsp b/tipper/tipper.mdsp index c52fd81..c298c55 100644 --- a/tipper/tipper.mdsp +++ b/tipper/tipper.mdsp @@ -87,6 +87,7 @@ extraResourceOptions= 4=tipper.cpp
5=translations.cpp
6=subst.cpp
+7=str_utils.cpp
[Header]
1=m_tipper.h
2=message_pump.h
@@ -98,10 +99,11 @@ extraResourceOptions= 8=translations.h
9=version.h
10=subst.h
+11=str_utils.h
[Resource]
1=resource.rc
[Other]
[History]
-tipper.cpp,3326
-message_pump.cpp,1325
-version.h,785
+version.h,750
+tipper.cpp,3306
+message_pump.cpp,4300
diff --git a/tipper/version.h b/tipper/version.h index 0d9b3f5..50f59ba 100644 --- a/tipper/version.h +++ b/tipper/version.h @@ -4,7 +4,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 3
#define __RELEASE_NUM 0
-#define __BUILD_NUM 1
+#define __BUILD_NUM 2
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
|