Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What shape is my mouse pointer?
Message
De
13/05/1997 09:46:53
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
 
 
À
13/05/1997 09:21:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00031806
Message ID:
00031925
Vues:
42
>>>>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.
Elyse Pomerantz
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform