- Timestamp:
- May 23, 2008, 6:20:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plugins/org.eclipse.swt/Eclipse SWT PI/pm/org/eclipse/swt/internal/pm/OS.java
r61 r72 248 248 public static final int WM_MENUSELECT = 0x0034; 249 249 public static final int WM_MENUEND = 0x0035; 250 //public static final int WM_DRAWITEM = 0x0036;250 public static final int WM_DRAWITEM = 0x0036; 251 251 public static final int WM_MEASUREITEM = 0x0037; 252 252 // public static final int WM_CONTROLPOINTER = 0x0038; … … 263 263 /* Frame window related messages */ 264 264 // public static final int WM_FLASHWINDOW = 0x0040; 265 //public static final int WM_FORMATFRAME = 0x0041;265 public static final int WM_FORMATFRAME = 0x0041; 266 266 public static final int WM_UPDATEFRAME = 0x0042; 267 267 // public static final int WM_FOCUSCHANGE = 0x0043; … … 271 271 // public static final int WM_SETICON = 0x0047; 272 272 // public static final int WM_QUERYICON = 0x0048; 273 //public static final int WM_SETACCELTABLE = 0x0049;274 //public static final int WM_QUERYACCELTABLE = 0x004a;275 //public static final int WM_TRANSLATEACCEL = 0x004b;273 public static final int WM_SETACCELTABLE = 0x0049; 274 public static final int WM_QUERYACCELTABLE = 0x004a; 275 public static final int WM_TRANSLATEACCEL = 0x004b; 276 276 // public static final int WM_QUERYTRACKINFO = 0x004c; 277 //public static final int WM_QUERYBORDERSIZE = 0x004d;278 //public static final int WM_NEXTMENU = 0x004e;277 public static final int WM_QUERYBORDERSIZE = 0x004d; 278 public static final int WM_NEXTMENU = 0x004e; 279 279 public static final int WM_ERASEBACKGROUND = 0x004f; 280 280 // public static final int WM_QUERYFRAMEINFO = 0x0050; … … 586 586 // public static final int FCF_NOMOVEWITHOWNER = 0x00002000; 587 587 // public static final int FCF_ICON = 0x00004000; 588 //public static final int FCF_ACCELTABLE = 0x00008000;588 public static final int FCF_ACCELTABLE = 0x00008000; 589 589 // public static final int FCF_SYSMODAL = 0x00010000; 590 590 // public static final int FCF_SCREENALIGN = 0x00020000; … … 623 623 624 624 /* Frame control IDs */ 625 //public static final int FID_SYSMENU = 0x8002;625 public static final int FID_SYSMENU = 0x8002; 626 626 // public static final int FID_TITLEBAR = 0x8003; 627 627 // public static final int FID_MINMAX = 0x8004; … … 854 854 // public static final int SYSCLR_SHADOWTEXT = -48; 855 855 public static final int SYSCLR_ENTRYFIELD = -47; 856 //public static final int SYSCLR_MENUDISABLEDTEXT = -46;856 public static final int SYSCLR_MENUDISABLEDTEXT = -46; 857 857 public static final int SYSCLR_MENUHILITE = -45; 858 858 public static final int SYSCLR_MENUHILITEBGND = -44; … … 1032 1032 // public static final int PP_INACTIVETEXTBGNDCOLORINDEX = 29; 1033 1033 // public static final int PP_SHADOW = 30; 1034 //public static final int PP_MENUFOREGROUNDCOLOR = 31;1035 //public static final int PP_MENUFOREGROUNDCOLORINDEX = 32;1036 //public static final int PP_MENUBACKGROUNDCOLOR = 33;1037 //public static final int PP_MENUBACKGROUNDCOLORINDEX = 34;1038 //public static final int PP_MENUHILITEFGNDCOLOR = 35;1039 //public static final int PP_MENUHILITEFGNDCOLORINDEX = 36;1040 //public static final int PP_MENUHILITEBGNDCOLOR = 37;1041 //public static final int PP_MENUHILITEBGNDCOLORINDEX = 38;1042 //public static final int PP_MENUDISABLEDFGNDCOLOR = 39;1043 //public static final int PP_MENUDISABLEDFGNDCOLORINDEX = 40;1044 //public static final int PP_MENUDISABLEDBGNDCOLOR = 41;1045 //public static final int PP_MENUDISABLEDBGNDCOLORINDEX = 42;1034 public static final int PP_MENUFOREGROUNDCOLOR = 31; 1035 public static final int PP_MENUFOREGROUNDCOLORINDEX = 32; 1036 public static final int PP_MENUBACKGROUNDCOLOR = 33; 1037 public static final int PP_MENUBACKGROUNDCOLORINDEX = 34; 1038 public static final int PP_MENUHILITEFGNDCOLOR = 35; 1039 public static final int PP_MENUHILITEFGNDCOLORINDEX = 36; 1040 public static final int PP_MENUHILITEBGNDCOLOR = 37; 1041 public static final int PP_MENUHILITEBGNDCOLORINDEX = 38; 1042 public static final int PP_MENUDISABLEDFGNDCOLOR = 39; 1043 public static final int PP_MENUDISABLEDFGNDCOLORINDEX = 40; 1044 public static final int PP_MENUDISABLEDBGNDCOLOR = 41; 1045 public static final int PP_MENUDISABLEDBGNDCOLORINDEX = 42; 1046 1046 // public static final int PP_SHADOWTEXTCOLOR = 43; 1047 1047 // public static final int PP_SHADOWTEXTCOLORINDEX = 44; … … 2063 2063 public static final int PU_MOUSEBUTTON3 = 0x0100; /* If button3 use allowed */ 2064 2064 public static final int PU_KEYBOARD = 0x0200; /* If keyboard use allowed */ 2065 /* ACCEL fs bits */ 2066 2067 public static final int AF_CHAR = 0x0001; 2068 public static final int AF_VIRTUALKEY = 0x0002; 2069 public static final int AF_SCANCODE = 0x0004; 2070 public static final int AF_SHIFT = 0x0008; 2071 public static final int AF_CONTROL = 0x0010; 2072 public static final int AF_ALT = 0x0020; 2073 public static final int AF_LONEKEY = 0x0040; 2074 public static final int AF_SYSCOMMAND = 0x0100; 2075 public static final int AF_HELP = 0x0200; 2065 2076 2066 2077 /* PM macros */ … … 2068 2079 public static final short SHORT1FROMMP (int mp) { return (short)mp; } 2069 2080 public static final short SHORT2FROMMP (int mp) { return (short)(mp >> 16); } 2070 public static final int MPFROM2SHORT(short s1, short s2){ return ((s1 << 16) + s2);} 2081 public static final int MPFROM2SHORT(short s1, short s2){ return (((int)(s1)) | ((int)(s2)) << 16);} 2082 //public static final int MPFROM2SHORT(short s1, short s2){ return ((s1 << 16) + s2);} 2071 2083 //public static final int MAKELONG (short l, short h) { 2072 2084 // return ((int)l) | (((int)h) << 16); … … 2139 2151 public static final native int WinSendMsg (int hwnd, int ulMsgid, LBOXINFO mpParam1, PSZ[] mpParam2); 2140 2152 public static final native int WinSendMsg (int hwnd, int ulMsgid, MENUITEM mpParam1, PSZ mpParam2); 2141 public static final native intWinSendMsg (int hwnd, int ulMsgid, int mpParam1, MENUITEM mpParam2);2153 public static final native boolean WinSendMsg (int hwnd, int ulMsgid, int mpParam1, MENUITEM mpParam2); 2142 2154 public static final native boolean WinPostMsg (int hwnd, int ulMsgid,int mpParam1, int mpParam2); 2143 2155 public static final native int WinQueryMsgTime (int hab); … … 2248 2260 public static final native int WinOpenWindowDC(int hwnd); 2249 2261 public static final native boolean WinPopupMenu(int hwndParent, int hwndOwner, int hwndMenu, int x, int y, int idItem, short fs); 2262 public static final native int WinCreateAccelTable(int hab, ACCELTABLE acctAccelTable); 2250 2263 public static final native boolean PrfQueryProfileSize (int hini, PSZ pszApp, 2251 2264 PSZ pszKey, int[] pulDataLen);
Note:
See TracChangeset
for help on using the changeset viewer.