Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What shape is my mouse pointer?
Message
From
13/05/1997 09:51:25
 
 
To
13/05/1997 09:46:53
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00031806
Message ID:
00031926
Views:
51
>>>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform