Hi Vlad,
Thanks for the information.
Bill
>SetSystemCursor is declared like that:
>
>BOOL SetSystemCursor ( HCURSOR hcur, DWORD id)
>
>and replaces the standard cursor identified by the id with your cursor identified by hcur.
>
>That means that if you want to replace the hourglass cursor with your "wait" cursor, you should:
>
>SetSystemCursor( HandleToMyCursor, OCR_WAIT)
>
>So, you already know which is the standard cursor, because it is you the one who replaced it. In the previous example, it's OCR_WAIT.
>
>HTH,
>Vlad
>
>>Hi Bruce,
>> I'm fiddling with the SetSystemCursor function and as always I have to mess things up a few times before getting them right :-). Is there a simple way to restore a cursor to its default startup state?
>>
>>Thanks,
>>Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.