Share this post

Link to post

Share on other sites

martin 72

martin 72

I think we need to catch $WM_SETCURSOR message to disable the cursor, but i tried hard, and without any seccess

No, I don't know how to do it either.

Here's another approach which would fool most people, but it only works for a standard XP theme so it's not really a solution unless you put a lot more effort into it. It needs someone like Siao to tell us the correct way.

Share this post

Link to post

Share on other sites

martin 72

martin 72

It won't fail but it won't look right if the theme draws the headers differently and uses different colours, so it might look wrong. That's why I put a note about getting the border colour, so at at least you could make sure the colour round the header matched the border drawn by Windows. You would also have to work out a lighter shade for the line at the bottom of the header which I did by guessing.

Edit: Now the column will stay fixable even if we doubleclick on the columns delimeter.

Hello,

is there a way to get this to work again?

I tested it with v3.3.3.0 and the current beta and it won't work. I think its a problem of Win 7... could anyone test this code under WinXP, or Vista with and then tell me if the columm header is moveable?