Console Cursor

This is a discussion on Console Cursor within the C# Programming forums, part of the General Programming Boards category; Hello everyone, Quick Question. Is it possible to change the mouse pointer in a console application? Namely, change the pointer ...

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    184

    Console Cursor

    Hello everyone,

    Quick Question. Is it possible to change the mouse pointer in a console application? Namely, change the pointer to an hourglass in a console application? If so, how do I accomplish that????

    Thanks,
    Kendal

  2. #2
    Registered User datainjector's Avatar
    Join Date
    Mar 2002
    Posts
    356
    well i have no idea if it can be done with C#.. but with WinAPi its possible ... first get an handle to command dos then check the position on the curson if the curson position is in the dos rectangle tell it to change the cursor bitmap .. simple as that ..
    "I wish i could wish my wishs away"

    "By indirections find directions out" -- William Shakespears

    "Do what thou wilt shall be the whole of the law" -- Crowley "THE BEAST 666"

    Mizra -> love = Death...
    RDB(Rocks yooo)..

    http://www.cbeginnersunited.com

    Are you ready for the Trix ???

  3. #3
    Registered User
    Join Date
    Feb 2003
    Posts
    184
    I follow you. I follow the logic anyway. Now I will do some investigating to try and figure out how to do that.

    Thanks,
    Kendal

  4. #4
    Registered User
    Join Date
    Feb 2003
    Posts
    184
    How do I declare and use a HANDLE in C#?????

  5. #5
    Registered User
    Join Date
    Feb 2003
    Posts
    184
    Found it.......IntPtr

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 12
    Last Post: 05-06-2006, 03:34 PM
  2. How to hide cursor in a Linux/Unix console?
    By Aidman in forum Linux Programming
    Replies: 2
    Last Post: 09-01-2004, 02:25 PM
  3. Get cursor position in Console
    By Rutabega in forum Windows Programming
    Replies: 3
    Last Post: 04-01-2004, 09:32 AM
  4. Just one Question?
    By Irish-Slasher in forum C++ Programming
    Replies: 6
    Last Post: 02-12-2002, 09:19 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21