diff options
author | Nikita Nemkin | 2019-06-12 09:55:33 +0000 |
---|---|---|
committer | Niraj Modi | 2019-06-12 09:58:10 +0000 |
commit | a09fd5ce015e751c6e1b365e563e6cba8a65fa3d (patch) | |
tree | e362736022053182b5ebfa2bcd8dad89e8c1b519 /bundles/org.eclipse.swt/Eclipse SWT PI/win32/org | |
parent | a551d9cf6c769c4e64f0c41f5cba6c7e8ef9d193 (diff) | |
download | eclipse.platform.swt-a09fd5ce015e751c6e1b365e563e6cba8a65fa3d.tar.gz eclipse.platform.swt-a09fd5ce015e751c6e1b365e563e6cba8a65fa3d.tar.xz eclipse.platform.swt-a09fd5ce015e751c6e1b365e563e6cba8a65fa3d.zip |
Bug 293230 - [Win32] Support SWT.ICON_SEARCH/CANCEL Text styles
This reverts commit a551d9cf6c769c4e64f0c41f5cba6c7e8ef9d193.
Change-Id: I92edf6a5dfd46b09547b2f97eaf5102c2663cd9c
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/win32/org')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java index 19de3759b3..0a20afaeb7 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java @@ -347,6 +347,7 @@ public class OS extends C { public static final int CS_VREDRAW = 0x1; public static final int CS_OWNDC = 0x20; public static final int CW_USEDEFAULT = 0x80000000; + public static final int CWP_SKIPINVISIBLE = 0x0001; public static final String DATETIMEPICK_CLASS = "SysDateTimePick32"; //$NON-NLS-1$ public static final int DCX_CACHE = 0x2; public static final int DCX_CLIPCHILDREN = 0x8; @@ -770,6 +771,7 @@ public class OS extends C { public static final int LGRPID_INSTALLED = 1; public static final int LIF_ITEMINDEX = 0x1; public static final int LIF_STATE = 0x2; + public static final int LIM_SMALL = 0; public static final int LIS_FOCUSED = 0x1; public static final int LIS_ENABLED = 0x2; public static final int LISS_HOT = 0x2; @@ -2413,6 +2415,12 @@ public static final native int CertNameToStr (int dwCertEncodingType, CERT_NAME_ public static final native long /*int*/ CharLower (long /*int*/ ch); /** @param ch cast=(LPWSTR) */ public static final native long /*int*/ CharUpper (long /*int*/ ch); +/** + * @param hWndParent cast=(HWND) + * @param pt flags=struct + * @param flags cast=(UINT) + */ +public static final native long /*int*/ ChildWindowFromPointEx (long /*int*/ hWndParent, POINT pt, int flags); /** @param lpcc cast=(LPCHOOSECOLORW) */ public static final native boolean ChooseColor (CHOOSECOLOR lpcc); /** @param chooseFont cast=(LPCHOOSEFONTW) */ @@ -3291,6 +3299,12 @@ public static final native long /*int*/ LoadCursor (long /*int*/ hInstance, long public static final native long /*int*/ LoadIcon (long /*int*/ hInstance, long /*int*/ lpIconName); /** * @param hinst cast=(HINSTANCE) + * @param pszName cast=(PCWSTR) + * @param phico cast=(HICON *) + */ +public static final native int LoadIconMetric (long /*int*/ hinst, long /*int*/ pszName, int lims, long /*int*/ [] phico); +/** + * @param hinst cast=(HINSTANCE) * @param lpszName cast=(LPWSTR) */ public static final native long /*int*/ LoadImage (long /*int*/ hinst, long /*int*/ lpszName, int uType, int cxDesired, int cyDesired, int fuLoad); |