Tema: TtrayIcon
Ver Mensaje Individual
  #6  
Antiguo 02-07-2008
Avatar de white_zombie
[white_zombie] white_zombie is offline
Miembro Premium
 
Registrado: nov 2005
Ubicación: Zaragoza - España
Posts: 187
Reputación: 19
white_zombie Va por buen camino
Hola, para poder mostrar el formulario al hacer doble click en el icono simplememte añade esto en el procedimiento espabila.
Código Delphi [-]
if Msg.lParam = WM_LBUTTONDBLCLK then begin
      {Mostramos de nuevo la form}
      {We show the form again}
      Form1.Show;
      ShowWindow(Application.Handle, SW_HIDE);
      {Y nos cargamos el icono de la system tray}
      {Destroy the systray icon}
      Shell_NotifyIcon(NIM_DELETE, @IconData);
      IconData.Wnd:=0;
  end;
Un Saludo
Responder Con Cita