summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-04-27 15:44:08 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-04-27 15:44:08 +0000
commit84c424094eb0b051bab9a19436e0ebfb282d03f5 (patch)
tree653a1432c1322cfdee8ed888fb0d4a29f5719c0c
parentf9aaee3029230a7541d3b859ef801ce9004fdb72 (diff)
SetForegroundWindow called when message recv'd
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@164 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r--justtabs/justtabs.cpp2
-rw-r--r--justtabs/justtabs.mdsp12
-rw-r--r--justtabs/win.cpp1
3 files changed, 8 insertions, 7 deletions
diff --git a/justtabs/justtabs.cpp b/justtabs/justtabs.cpp
index 990dc29..bc54950 100644
--- a/justtabs/justtabs.cpp
+++ b/justtabs/justtabs.cpp
@@ -25,7 +25,7 @@ HFONT hFontTabs = 0;
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
MODULE,
- PLUGIN_MAKE_VERSION(0,1,0,1),
+ PLUGIN_MAKE_VERSION(0,1,1,0),
"Put SRMM windows into a single frame",
"Scott Ellis",
"mail@scottellis.com.au",
diff --git a/justtabs/justtabs.mdsp b/justtabs/justtabs.mdsp
index b373b2a..d2a1a38 100644
--- a/justtabs/justtabs.mdsp
+++ b/justtabs/justtabs.mdsp
@@ -92,10 +92,10 @@ extraResourceOptions=
1=resource.rc
[Other]
[History]
-win.cpp,15076
-..\tipper\tipper.cpp,7215
-..\..\include\m_fontservice.h,0
-options.cpp,1924
-win.h,0
..\..\include\m_system.h,5690
-justtabs.cpp,675
+win.h,0
+options.cpp,1924
+..\..\include\m_fontservice.h,0
+..\tipper\tipper.cpp,7182
+win.cpp,15033
+justtabs.cpp,647
diff --git a/justtabs/win.cpp b/justtabs/win.cpp
index b85cd9c..5f65625 100644
--- a/justtabs/win.cpp
+++ b/justtabs/win.cpp
@@ -362,6 +362,7 @@ BOOL CALLBACK FrameProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) {
SendMessage(tab_ctrl, TCM_SETITEM, (WPARAM)t, (LPARAM)&tie);
}
SendMessage(hwnd, WMU_CALCWINICON, 0, 0);
+ SetForegroundWindow(hwnd);
}
}
return TRUE;