This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: taskbar and system tray menus


Hi Harold,

Code changes for this, I missed the mail earlier on doing the checkbox bit
on Hide Root Window, one for you? 

'Exit' to bottom on tray and 'Always On Top' to top on sys menu (better I
think than the transpose with 'Close')
So 'Exit' and 'Close' are now at bottom of respective menus.

I put a hot-key on the T in 'Top' (made sense to me).


Patches:- 
-----------------------8<----------------------
--- save_XWin.rc        2003-06-01 04:04:12.000000000 +0100
+++ XWin.rc     2003-06-02 21:04:46.000000000 +0100
@@ -72,10 +72,10 @@
 BEGIN
        POPUP "TRAYICON_MENU"
        BEGIN
-               MENUITEM "E&xit", ID_APP_EXIT
-               MENUITEM SEPARATOR
                MENUITEM "&Hide Root Window", ID_APP_HIDE_ROOT
                MENUITEM "&Show Root Window", ID_APP_SHOW_ROOT
+               MENUITEM SEPARATOR
+               MENUITEM "E&xit", ID_APP_EXIT
        END
 END
------------------------>8----------------------------
------------------------8<----------------------------
--- save_winmultiwindowwndproc.c        2003-06-02 15:11:46.000000000 +0100
+++ winmultiwindowwndproc.c     2003-06-02 21:59:28.000000000 +0100
@@ -175,8 +175,8 @@

        sys = GetSystemMenu (hwnd, FALSE);

-       AppendMenu (sys, MF_SEPARATOR, 0, NULL);
-       AppendMenu (sys, MF_STRING, ID_APP_ALWAYS_ON_TOP, "Always On Top");
+       InsertMenu (sys, 0, MF_BYPOSITION | MF_SEPARATOR, 0, NULL);
+       InsertMenu (sys, 0, MF_BYPOSITION | MF_STRING, ID_APP_ALWAYS_ON_TOP,
"Always On &Top");
       }
       return 0;
------------------------>8-----------------------------

Cheers,

Colin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]