-
setCursor
Hi all,
I have a window with some member varibles of type HCURSOR hCurs1, hCurs2;
I load hCurs1 and hCurs2 with different standard icon and try to setCursor
with different icon whenever I want. but when I set it to hCurs1 and move
mouse, the icon became hCurs2 by iteself. How can I keep the wanted icon
until i set it to be a new one?
Thanks for your help.
hope
-
Re: setCursor
"hope" <hua_sun@hotmail.com> wrote:
>
>Hi all,
>I have a window with some member varibles of type HCURSOR hCurs1, hCurs2;
>I load hCurs1 and hCurs2 with different standard icon and try to setCursor
>with different icon whenever I want. but when I set it to hCurs1 and move
>mouse, the icon became hCurs2 by iteself. How can I keep the wanted icon
>until i set it to be a new one?
>Thanks for your help.
>
>hope
Handle WM_SETCURSOR message, There you can change the cursor.
Mike
www.exontrol.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks