Ver Mensaje Individual
  #11  
Antiguo 06-09-2010
fleming fleming is offline
Miembro
 
Registrado: sep 2010
Posts: 15
Reputación: 0
fleming Va por buen camino
Cita:
Empezado por escafandra Ver Mensaje
Código Delphi [-]
h := FindWindow(nil, PCHAR(s)); 
if (h <> 0) and (MessageBox(0, 'Programa Prohibido Detectado!'+#13+'¿Cerrarlo?', 'Alerta', +MB_YESNO + mb_ICONWARNING) = IDYES) then
   PostMessage(h, WM_CLOSE, 0, 0);

Saludos.
me salen un millon de ventanas alertas

Última edición por fleming fecha: 06-09-2010 a las 17:17:36.
Responder Con Cita