Tolto il controllo sull'utente per iconizzare/massimizzare l'applicazione

nel caso si esegua un programma esterno.


git-svn-id: svn://10.65.10.50/trunk@5386 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1997-10-16 13:59:54 +00:00
parent 6ced2b0005
commit d6763dce8d

View File

@ -162,11 +162,8 @@ word TExternal_app::run(
if (!async) if (!async)
{ {
TTemp_window tw(TASK_WIN); TTemp_window tw(TASK_WIN);
if (utente) tw.iconize();
{ tw.deactivate();
tw.iconize();
tw.deactivate();
}
HTASK child = NULL; HTASK child = NULL;
TASKENTRY te; te.dwSize = sizeof(TASKENTRY); TASKENTRY te; te.dwSize = sizeof(TASKENTRY);
@ -191,12 +188,9 @@ word TExternal_app::run(
xvt_app_process_pending_events(); xvt_app_process_pending_events();
} }
if (utente) tw.maximize();
{ tw.activate();
tw.maximize(); xvt_app_process_pending_events();
tw.activate();
xvt_app_process_pending_events();
}
} }
xvt_statbar_refresh(); xvt_statbar_refresh();
} }