From 1390425cfce779892cd8ace35b94568f2b8e9f05 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Fri, 10 Nov 2023 18:08:42 +0100 Subject: [PATCH] taskmgr: No longer use console/file output APIs. Regular GUI apps don't. Signed-off-by: Eric Pouech --- programs/taskmgr/dbgchnl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/programs/taskmgr/dbgchnl.c b/programs/taskmgr/dbgchnl.c index 2d160bf4b50..ba17c5d21d6 100644 --- a/programs/taskmgr/dbgchnl.c +++ b/programs/taskmgr/dbgchnl.c @@ -42,7 +42,6 @@ * - get a better UI (replace the 'x' by real tick boxes in list view) * - enhance visual feedback: the list is large, and it's hard to get the * right line when clicking on rightmost column (trace for example) - * - get rid of printfs (error reporting) and use real message boxes * - include the column width settings in the full column management scheme * - use more global settings (like having a temporary on/off * setting for a fixme:s or err:s @@ -260,7 +259,7 @@ static void DebugChannels_OnNotify(HWND hDlg, LPARAM lParam) ListView_SetItemTextW(hChannelLV, lhti.iItem, lhti.iSubItem, val); } if (user.notdone) - printf("Some channel instances weren't correctly set\n"); + MessageBoxA(NULL, "Some channel instances weren't correctly set", "Error", MB_OK | MB_ICONHAND); } CloseHandle(hProcess); }