Here is an example program that is probably about as good as you can get with the current ooDialog.

Each window in Windows has its own cursor shape.  When the cursor is over the window, the window switches the cursor to its shape.  So when the cursor is over the Header control, it swtiches the cursor to its shape.  When the cursor is over the list-view, the list-view switches the cursor to its shape.


Thanks for this. Not that this is at all important but I've played around with a slightly different approach to this (pseudo-code below):

createListView(100, ...)
createEdit(101,covering the while listview, "READONLY HIDDEN")
self~writeToControl(101, 0, 0, "", , , "TRANSPARENT")
a=newEdit(101)
a~show
Change cursor
sort column
restore cursor
a~hide
redrawControl(100)

My thinking here was that the cursor is now over a transparent edit control until hidden again, but the cursor still doesn't change shape as I would expect. I can see a slight movement only, as expected. So why doesn't this approach work?

Staffan