Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Access "VSplit" system cursor (Windows)
Access "VSplit" system cursor (Windows) [message #1805845] Thu, 25 April 2019 10:10
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 304
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,

(crossposted to StackOverflow)
Previous Topic:ToolTip widget behaves inconsistently
Next Topic:Table Header background is white
Goto Forum:

Current Time: Sat Apr 17 15:56:46 GMT 2021

Powered by FUDForum. Page generated in 0.01421 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top