From 84c424094eb0b051bab9a19436e0ebfb282d03f5 Mon Sep 17 00:00:00 2001 From: sje Date: Fri, 27 Apr 2007 15:44:08 +0000 Subject: SetForegroundWindow called when message recv'd git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@164 4f64403b-2f21-0410-a795-97e2b3489a10 --- justtabs/win.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'justtabs/win.cpp') 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; -- cgit v1.2.3