...change
the priority of applications main thread?
Author:
Simon Grossenbacher
Homepage:
http://www.swissdelphicenter.ch
0 Comments
to this tip [Write new comment]
[ Print tip
]
Tip Rating
(7):
Skill:
Useful:
Overall:
procedure
TForm1.Button1Click(Sender: TObject);
var
MainThread: THandle;
begin
MainThread := GetCurrentThread;
SetThreadPriority(MainThread,
THREAD_PRIORITY_HIGHEST);
end;