|
-
Jun 16th, 2008, 09:12 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] [2005] Hide the mouse cursor in a full-screen console-mode app
I'm making a full-screen console-mode app. Since it is entirely text-based and needs no mouse interaction, I thought it'd be nice to not display the ugly blocky mouse cursor. It seems that all consoles in .net display this cursor when made full screen. I know it possible to disable the cursor because non-.net apps, such as cmd.exe hide the cursor.
I don't mind using the API to do this but I've already played around with ShowCursor. It doesn't appear to do anything at all in console-mode apps, even when they're windowed.
-
Jun 17th, 2008, 01:21 AM
#2
Thread Starter
Fanatic Member
Re: [2005] Hide the mouse cursor in a full-screen console-mode app
What I did to overcome this problem was to clip the mouse cursor to 0,0 and reverse the colors of that particular character. less than ideal, but it works.
-
Jun 17th, 2008, 01:32 AM
#3
Re: [RESOLVED] [2005] Hide the mouse cursor in a full-screen console-mode app
Hi,
I think you can use:
Wkr,
sparrow1
-
Jun 17th, 2008, 03:51 AM
#4
Thread Starter
Fanatic Member
Re: [RESOLVED] [2005] Hide the mouse cursor in a full-screen console-mode app
 Originally Posted by sparrow1
Hi,
I think you can use:
Wkr,
sparrow1
That doesn't seem to work either. Thanks, though. I did notice the Clip property of the Cursor class, though. That let me eliminate the API call I was using instead.
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
|
Click Here to Expand Forum to Full Width
|