summaryrefslogtreecommitdiff
path: root/justtabs/win.cpp
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 /justtabs/win.cpp
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
Diffstat (limited to 'justtabs/win.cpp')
-rw-r--r--justtabs/win.cpp1
1 files changed, 1 insertions, 0 deletions
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;