Access "VSplit" system cursor (Windows) [message #1805845] |
Thu, 25 April 2019 10:10 |
Stefan Winkler Messages: 307 Registered: July 2009 Location: Germany |
Senior Member |
|
|
Hi all,
I am developing an RCP application (windows-only target platform) which uses both JFace TableViewers and NatTables.
When the user wants to resize a table column, they get two different mouse cursors for the two types of tables.
For NatTable this is SWT.CURSOR_SIZEWE.
For SWT/JFace Tables this is "VSplit" according to the cursor list here.
Obviously, the reason is that SWT uses native table widgets and the "VSplit" cursor used by the OS here is platform-dependent (even wrt. its existence). So, I guess this is the reason why there is no SWT.CURSOR_VSPLIT constant.
Does anyone know of any other way to access the builtin windows VSPLIT cursor so that I can (re)use that cursor for the NatTable resize handle? (My current workaround is to include my own custom "VSplit" cursor, but I'd like it better if I could reuse the system resource).
Thanks in advance,
Stefan
(crossposted to StackOverflow)
|
|
|
Powered by
FUDForum. Page generated in 0.03518 seconds