>>>>>The MousePointer Property returns 0 (Default) because that's what it's set for, but I want to know what the actual shape is at a given moment. Any ideas?
>>>>
>>>>As far as I know MousePointer will get new value when mouse shape changed.
>>>I have tested it, and I always get 0. Maybe I'm missing something?
>>
>>Yes, because MousePointer=0 means 'shape determined by object', so it can be different. You will get another value just in case you specifically changed the shape resetting the property or using Win32Api functions. BTW, what's the necessity to check MousePointer (maybe you can use something from MouseMove/Down/Up).
>
>Clicking on some of my column headers in a grid will change the sort order. However, when the user just wants to change the width of the column, I don't want it to go throught the click event of the header. So, when the pointer is an EW arrow, it shouldn't go through the Click. Is there a Win32API function to determine this? I'm using VFP 5.0 with Win95.
I remember this question on UT. I can just repeat that you could use Header.Double or RightClick to make sorting.
Edward Pikman
Independent Consultant