|Title:||Column and Row resize cursors could use better cursors|
|Submitter:||anonymous||Created on:||2013-08-20 17:33:46|
|Subsystem:||88. Themed Tk||Assigned To:||nobody|
|Status:||Open||Last Modified:||2019-05-16 21:58:23|
Here's an example tree view widget: ----- package require Tk ttk::treeview .tree .tree configure -columns "right" .tree heading #0 -text "left" .tree heading 0 -text "right" pack .tree ----- On Win7 x64, when you try to resize the columns the cursor will change into the horizontal resize cursor (the same one as the one used for the edge of the window). However a more appropriate cursor is the horizontal /column/ resize cursor. There's also a row resize cursor as well on Win32. They're listed here: http://msdn.microsoft.com/en-us/library/windows/desktop/bb545459.aspx#concepts They're under the "Compound mouse interactions" table in the row labeled "Resizing", they're named "Row and column resize". They're the cursors used by default for column/row resize in most apps, e.g. Windows Explorer, uTorrent, etc.
fvogel added on 2019-05-16 21:58:23:
The page you linked to is now a 404. I guess an equivalent today is https://docs.microsoft.com/en-us/windows/desktop/uxguide/inter-mouse.
How to display this column resize cursor is a good question. Googling says that the cursor ID is IDC_SIZEWE. However this is what is already used in the Tk source code, and it is displaying the horizontal resize cursor, not the column resize cursor.
Looking in the guts of my Vista box here I didn't find this column resize cursor (in C:\Windows\Cursors).