Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse pointer change ???
Message
De
31/08/1997 15:32:15
 
 
À
31/08/1997 10:46:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00041692
Message ID:
00047878
Vues:
87
Hi Vlad!

Thanks for your answer. Unfortunatly, I Don't know anything precise about it.

BB

>I couldn't find anything about this specific bug (that doesn't mean it doesn't exist). All I could find is the "How To Modify the Windows Default Cursor" Q160041 article in MS KB that specifies: "NOTE: Due to a bug in Windows NT, this article only applies to Windows 95. Microsoft is researching this issue and will post new information here in the Microsoft Knowledge Base as it becomes available."
>
>Please let me know if you find something more precise.
>
>Vlad
>
>>Hi Vlad!
>>
>>Thanks for your answer! You are right, it hasnot much sense, as LoadCursor() works now for standard cursors. As it sounds, it could be a big problem in other languages like C++. Is it documented somewhere?
>>
>>TIA
>>
>>BB
>>
>>
>>>No. LoadCursor returns a handle to the current cursor, not to the standard one (on Win NT). After that if you use this handle (with SetSystemCursor) to change another cursor, these 2 cursors will be switched. It doesn't make to much sense, isn't it? Example:
>>>
>>>*-- This returns a handle to the current arrow cursor, not the standard one.
>>>* This might be changed, so, there's no way to have the needed handle.
>>>lnHandleToArrow = LoadCursor( 0, 32512)
>>>*-- This should change the IBeam cursor to Arrow,
>>>* but it will switch the 2 cursors.
>>>lnError = SetSystemCursor( lnHandleToArrow, 32513)
>>>
>>>This is why, on Windows NT, you must work with copies of the cursors.
>>>
>>>Vlad
>>>
>>>>Hi Paul!
>>>>
>>>>I downloaded your mouse change routins. Thanks for these!
>>>>
>>>>Is this 127 error code the bug for which you refer in your FAQ Article "How to change and how to reset..."?
>>>>
>>>>BB
>>>>
>>>>
>>>>>Win32API error code 127 is "The specified procedure could not be found." This message is kinda generic error message. :) I mean: it comes from many causes, usually something intern to Win32API. So, don't start to look for a missing procedure.
>>>>>
>>>>>How did you declared SETCURSOR and LOADCURSOR functions?
>>>>>
>>>>>Vlad
>>>>>
>>>>>>Hi guys,
>>>>>>
>>>>>>I try to replace the arrow cursor with the wait cursor in my application when processus was long but when i use the command " thisform.setall('mousepointer',11) " some object (text box) in grid not change. Do you have an idea ?
>>>>>>I also try with win32api fonction like = SetCursor(LoadCursor(0,'IDC_WAIT')) but it's not work i think that the LoadCursor return a error 127 but i don't have idea what it's mean
>>>>>>
>>>>>>I will very apreciate your help
>>>>>>Rocky Boy...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform