Yulaw Posted February 27, 2004 Posted February 27, 2004 Any one can help me changing System mouse in C#? Quote
Moderators Robby Posted February 27, 2004 Moderators Posted February 27, 2004 Do you mean to an hourglass or something? If so, Me.Cursor = Cursors.WaitCursor 'or custom Cursor.Current = New Cursor(Application.StartupPath & "\SomeCursor.cur") Quote Visit...Bassic Software
bri189a Posted February 27, 2004 Posted February 27, 2004 If your looking to change the the default cursor, as programs like HotCursor do, so you can have a customized cursor for any windows program: Change the HKEY_CURRENT_USER\Control Panel\Cursors\Arrow Key to the path you want the cursor to be. Since it's based on user profiles you'll have to change each user. (change that key to null or "" to use default cursor) If your just trying to change it for use during your program do what is in the post above this one. Quote
Moderators Robby Posted February 27, 2004 Moderators Posted February 27, 2004 I can't see any legitimate reason to change a cursor at the global level. Quote Visit...Bassic Software
travisowens Posted March 4, 2004 Posted March 4, 2004 If you want to do simple cursor changes then it's simply... this.Cursor = Cursors.WaitCursor; but if you're talking about using a custom cursor in your app that's perfectly fine for things like wait states or other non-interactive modes. But if you want to change interactive states such as the classic arrow icon or text edit bar you are making a UI sacrilige. I really recommend you study up on UI design as one fundimental pillars of UI design is that you create a setup that the user is already familiar with. Nobody wants to see a Giraffe as their default cursor pointer because they've never used such a thing before. Apps are meant to work for the user, the user shouldn't have to "figure out" an interface. Especially when it's a cursor with to obvious hot pixel (ex: the tip of the arrow is the hot spot) Now maybe if you leave it as an arrow and add some graphics next to it, that's acceptable but not recommended. Quote Experience is something you don't get until just after the moment you needed it
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.