commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-commons-sandbox/daemon/src/native/nt/procrun procgui.c
Date Fri, 02 May 2003 10:00:44 GMT
mturk       2003/05/02 03:00:44

  Modified:    daemon/src/native/nt/procrun procgui.c
  Log:
  The left button dblclick on try icon opens default option -
  console monitor.
  
  Revision  Changes    Path
  1.14      +9 -1      jakarta-commons-sandbox/daemon/src/native/nt/procrun/procgui.c
  
  Index: procgui.c
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/daemon/src/native/nt/procrun/procgui.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- procgui.c	1 May 2003 13:29:51 -0000	1.13
  +++ procgui.c	2 May 2003 10:00:44 -0000	1.14
  @@ -908,7 +908,15 @@
               break;
           case WM_TRAYMESSAGE:
               switch(lparam) {
  -                case WM_LBUTTONUP:
  +                case WM_LBUTTONDBLCLK:
  +                   if (ac_console_hwnd) {
  +                        ShowWindow(ac_console_hwnd, SW_SHOW);
  +                        ShowWindow(ac_console_hwnd, SW_RESTORE);
  +                   }
  +                   else
  +                       DialogBox(ac_instance, MAKEINTRESOURCE(IDD_DLGCONSOLE),
  +                                 hwnd, (DLGPROC)ac_console_dlg_proc);                 
 
  +                break;
                   case WM_RBUTTONUP:
                       ac_show_try_menu(hwnd);
                   break;    
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message