From cda727307f4b2c4d31c0d9a013e9501327faaae5 Mon Sep 17 00:00:00 2001 From: "Frank Schoenheit [fs]" Date: Fri, 3 Sep 2010 17:53:47 +0200 Subject: dba34a: removed SvLBox'es (and friends) Set/GetWindowBits. They were used in parallel to Window's Set/GetStyle, with WB_* values which overlapped with existing (generic) WB_* bits. Since this overlapping has been removed, there's no need to have both Style and WindowBits at those classes. Should remove some source of confusion and error (and, well, perhaps introduce some new errors :) ). --- tools/inc/tools/wintypes.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools') diff --git a/tools/inc/tools/wintypes.hxx b/tools/inc/tools/wintypes.hxx index 7d6296b76e8c..2e1762ed4757 100644 --- a/tools/inc/tools/wintypes.hxx +++ b/tools/inc/tools/wintypes.hxx @@ -277,6 +277,11 @@ typedef sal_Int64 WinBits; #define WB_HASBUTTONS ((WinBits)0x00800000) #define WB_HASLINES ((WinBits)0x01000000) #define WB_HASLINESATROOT ((WinBits)0x02000000) +#define WB_HASBUTTONSATROOT ((WinBits)0x04000000) +#define WB_NOINITIALSELECTION ((WinBits)0x08000000) +#define WB_HIDESELECTION ((WinBits)0x10000000) +#define WB_FORCE_MAKEVISIBLE ((WinBits)0x20000000) + // For FileOpen Dialog #define WB_PATH ((WinBits)0x00100000) -- cgit From 53fadd15f72ba8726bb42fbe175796e86fe00055 Mon Sep 17 00:00:00 2001 From: "Frank Schoenheit [fs]" Date: Thu, 16 Sep 2010 08:24:24 +0200 Subject: dba34a: ensure the newly introduced WinBits for TreeListBoxes do not overlap with existing win bits also used by this class --- tools/inc/tools/wintypes.hxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tools') diff --git a/tools/inc/tools/wintypes.hxx b/tools/inc/tools/wintypes.hxx index 2e1762ed4757..ae90392c7034 100644 --- a/tools/inc/tools/wintypes.hxx +++ b/tools/inc/tools/wintypes.hxx @@ -274,13 +274,13 @@ typedef sal_Int64 WinBits; #define WB_STDTABCONTROL 0 // For TreeListBox -#define WB_HASBUTTONS ((WinBits)0x00800000) -#define WB_HASLINES ((WinBits)0x01000000) -#define WB_HASLINESATROOT ((WinBits)0x02000000) -#define WB_HASBUTTONSATROOT ((WinBits)0x04000000) -#define WB_NOINITIALSELECTION ((WinBits)0x08000000) -#define WB_HIDESELECTION ((WinBits)0x10000000) -#define WB_FORCE_MAKEVISIBLE ((WinBits)0x20000000) +#define WB_HASBUTTONS ((WinBits)SAL_CONST_INT64(0x0100000000)) +#define WB_HASLINES ((WinBits)SAL_CONST_INT64(0x0200000000)) +#define WB_HASLINESATROOT ((WinBits)SAL_CONST_INT64(0x0400000000)) +#define WB_HASBUTTONSATROOT ((WinBits)SAL_CONST_INT64(0x0800000000)) +#define WB_NOINITIALSELECTION ((WinBits)SAL_CONST_INT64(0x1000000000)) +#define WB_HIDESELECTION ((WinBits)SAL_CONST_INT64(0x2000000000)) +#define WB_FORCE_MAKEVISIBLE ((WinBits)SAL_CONST_INT64(0x4000000000)) // For FileOpen Dialog -- cgit From 2768b48ed3ad36fd31c38b2cbb5b0b7c37afebf2 Mon Sep 17 00:00:00 2001 From: "Frank Schoenheit [fs]" Date: Mon, 27 Sep 2010 23:21:07 +0200 Subject: dba34a: #i31275# allow 'select as you type' aka 'quick selection' for tree list boxes (SvLBox derivees, to be precise), and enable this for Base main window, and the stylist --- tools/inc/tools/wintypes.hxx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'tools') diff --git a/tools/inc/tools/wintypes.hxx b/tools/inc/tools/wintypes.hxx index ae90392c7034..9c7052e22d77 100644 --- a/tools/inc/tools/wintypes.hxx +++ b/tools/inc/tools/wintypes.hxx @@ -274,13 +274,15 @@ typedef sal_Int64 WinBits; #define WB_STDTABCONTROL 0 // For TreeListBox -#define WB_HASBUTTONS ((WinBits)SAL_CONST_INT64(0x0100000000)) -#define WB_HASLINES ((WinBits)SAL_CONST_INT64(0x0200000000)) -#define WB_HASLINESATROOT ((WinBits)SAL_CONST_INT64(0x0400000000)) -#define WB_HASBUTTONSATROOT ((WinBits)SAL_CONST_INT64(0x0800000000)) -#define WB_NOINITIALSELECTION ((WinBits)SAL_CONST_INT64(0x1000000000)) -#define WB_HIDESELECTION ((WinBits)SAL_CONST_INT64(0x2000000000)) -#define WB_FORCE_MAKEVISIBLE ((WinBits)SAL_CONST_INT64(0x4000000000)) +#define WB_HASBUTTONS ((WinBits)SAL_CONST_INT64(0x000100000000)) +#define WB_HASLINES ((WinBits)SAL_CONST_INT64(0x000200000000)) +#define WB_HASLINESATROOT ((WinBits)SAL_CONST_INT64(0x000400000000)) +#define WB_HASBUTTONSATROOT ((WinBits)SAL_CONST_INT64(0x000800000000)) +#define WB_NOINITIALSELECTION ((WinBits)SAL_CONST_INT64(0x001000000000)) +#define WB_HIDESELECTION ((WinBits)SAL_CONST_INT64(0x002000000000)) +#define WB_FORCE_MAKEVISIBLE ((WinBits)SAL_CONST_INT64(0x004000000000)) +// DO NOT USE: 0x008000000000, that's WB_SYSTEMCHILDWINDOW +#define WB_QUICK_SEARCH ((WinBits)SAL_CONST_INT64(0x010000000000)) // For FileOpen Dialog -- cgit