Image Cursor



Hi,

I am not sure if i am posting in the right forum, kindly direct me to the
correct one if i make a mistake.

I am coding in C programming compiled in vs.net 2005. I wanna write a
program such that it constantly detect the cursor position by using
"GetCursorPos" function. If the cursor is moving upwards, it should display a
"compass pointing to north" image. If the cursor is moving left, it should
display "compass pointing to west" image and so on. . .

I have search through the web and unable to find much examples in C. I
managed to find a link
http://www.codeproject.com/bitmap/ColorCursorFromBmp.asp which has some
information in C++ instead, however, through the demo i realised the image
cursor only appear when the cursor lies within the application. How can i
enable the image to remain throughout when the cursor move from one corner of
the desktop to the other?

Will be glad if anyone can direct me to any link with more information on
how i can set an image to the cursor in C. Any help is much appreciated.

Thanks alot

.



Relevant Pages

  • RGB Color Balance
    ... I am writing a display driver for Windows Ce 5.0. ... // init cursor related vars ... // check for line overlap with cursor and turn off cursor if overlaps ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to show/hide cursor on attach/deattach usb mouse
    ... Along with that Display Driver is modified with RequestDeviceNotifications, ... and switching on/off the cursor. ... handling USB mouse device notifications. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: General structure of disassembler
    ... 'regular' comments on source should display to the right of the ... He can move the cursor up and down and left and right in this text ... So does it when he moves to absolute source offset #0. ... In this scenario the root leaf ALWAYS holds ...
    (comp.programming)
  • Re: Another Castalia 5/Delphi 2007 preview video
    ... Finally, add an option at the top of the class combo for classless methods and all methods, which would then display those. ... When you press ESC to go back to the bookmark, it's hard to see where the cursor is. ... Some of these request may seem similar to those of another product, but let's face it, Castillia lives in the shadow of CodeRush. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: How to show/hide cursor on attach/deattach usb mouse
    ... It should be obvious that the answer to that depends on the display driver. ... There's no 'enable/disable cursor here' function. ... that receive notifications and use ShowCursor....it works ?? ...
    (microsoft.public.windowsce.platbuilder)