From efa6ed2ffbe020df84e6a8b98d133f1131ac558c Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Sat, 1 Mar 2003 00:06:04 +0000 Subject: [PATCH] show app name in graphics window svn path=/trunk/boinc/; revision=995 --- client/win/wingui_sswindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/client/win/wingui_sswindow.cpp b/client/win/wingui_sswindow.cpp index af85fe4b5c..954c49e7a1 100755 --- a/client/win/wingui_sswindow.cpp +++ b/client/win/wingui_sswindow.cpp @@ -232,6 +232,7 @@ void CSSWindow::OnTimer() if(gstate.active_tasks.active_tasks.size() != 0) { UINT uPaintMsg = RegisterWindowMessage("BOINC_PAINT"); CWnd* pAppWnd = GetWndFromProcId(gstate.active_tasks.active_tasks[0]->pid); + SetWindowText(gstate.active_tasks.active_tasks[0]->wup->app_name); if(pAppWnd) { if(!pAppWnd->SendMessage(uPaintMsg, 0, (LPARAM)GetSafeHwnd())) { PaintDefault();