Author: hannes
Date: Sat Sep 2 03:16:39 2006
New Revision: 10876
Modified:
trunk/fundev/sources/duim/win32/wcontrols.dylan
trunk/fundev/sources/duim/win32/win32-definitions.dylan
Log:
Bug: 6455
*add support for LVS_EX_FULLROWSELECT to be able to select every element of a
row in a <win32-table-control>
woohoo, after 232268805 seconds (> 2688 days, 7 years) this bug was fixed
Modified: trunk/fundev/sources/duim/win32/wcontrols.dylan
==============================================================================
--- trunk/fundev/sources/duim/win32/wcontrols.dylan (original)
+++ trunk/fundev/sources/duim/win32/wcontrols.dylan Sat Sep 2 03:16:39 2006
@@ -1716,6 +1716,7 @@
SendMessage(handle, $LVM-INSERTCOLUMN, i, pointer-address(lvcol))
end
end;
+ SendMessage(handle, $LVM-SETEXTENDEDLISTVIEWSTYLE, $LVS-EX-FULLROWSELECT,
$LVS-EX-FULLROWSELECT);
handle
end method make-gadget-control;
Modified: trunk/fundev/sources/duim/win32/win32-definitions.dylan
==============================================================================
--- trunk/fundev/sources/duim/win32/win32-definitions.dylan (original)
+++ trunk/fundev/sources/duim/win32/win32-definitions.dylan Sat Sep 2
03:16:39 2006
@@ -389,6 +389,7 @@
define inline-only constant $LVM-SETIMAGELIST = #x1003;
define inline-only constant $LVM-SETITEM = #x1006;
define inline-only constant $LVM-SETITEMCOUNT = #x102F;
+define inline-only constant $LVM-SETEXTENDEDLISTVIEWSTYLE = #x1036;
define inline-only constant $LVN-COLUMNCLICK = -108;
define inline-only constant $LVN-ITEMCHANGED = -101;
define inline-only constant $LVN-KEYDOWN = -155;
@@ -396,6 +397,7 @@
define inline-only constant $LVS-LIST = #x0003;
define inline-only constant $LVS-NOCOLUMNHEADER = #x4000;
define inline-only constant $LVS-REPORT = #x0001;
+define inline-only constant $LVS-EX-FULLROWSELECT = #x00000020;
define inline-only constant $LVS-SHOWSELALWAYS = #x0008;
define inline-only constant $LVS-SINGLESEL = #x0004;
define inline-only constant $LVS-SMALLICON = #x0002;
--
Gd-chatter mailing list
Gd-chatter@xxxxxxxxxxxxxxxx
https://www.opendylan.org/mailman/listinfo/gd-chatter
|