Bloquear tudo! foco somente na minha aplicação-URGENTE

Delphi

25/07/2003

Ola,
Tenho um sistema no qual as vezes ele trava, percebi que isso ocorre pq as vezes meu sistema perde o foco para a area de trabalho ou outro lugar. Existe alguma maneira de bloquear tudo deixando sempre o foco no meu sistema?

Valew.


Fer

Fer

Curtidas 0

Respostas

Fer

Fer

25/07/2003

consegui algo, estou testando

procedure Tform1.ChangeShell(String programa);
var 
ArquivoIni : Tinifile;
begin
try
ArquivoIni := Tinifile.Create(´System.ini´);
ArquivIni.WriteSection(´Config´,´Shell´,´Myprog.exe´);
fynally
ArquivoIni.Destroy;
end;
end;


valeu


GOSTEI 0
POSTAR