Close
Showing results 1 to 10 of 94

Hybrid View

  1. #1

    Default

    Quote Originally Posted by Moorea View Post
    in windowed mode, I can have for instance a 20% opaque/transparent clock widget on top of my wow windows (always on top; opacity 20%) - so rather than manipulate the OS cursor, can you plug in that way maybe ? and yes I meant the shape drawn doesn't have to be what the actual custom cursor from the game would be and maybe just a simple cross hair instead - if that makes the problem simpler

    ps: that opacity setting, assuming its an OS support, could be a good way to easily overlay the status window maybe ? the alternative is however the volume controls show up sometime (green bars on top of the screen)
    This is the kind of thing I was getting at when I talked about reading the MSDN docs for new DWM/DirectX stuff in Vista and Win 7.

    Traditionally (up until Vista) a program would have done what you describe by making a window that looks like a cursor. (Programs paint their own windows so if Mojo wants to make a window that looks like a cursor, that's not a problem.) The program would have set the window to be always on top and moved the window whenever the cursor moves.

    There would have been two problems with this. (1) It's too slow for a cursor. (2) As the fake cursor moves it will leave visible artifacts behind itself that eventually get redrawn, but not immediately.

    Starting in Vista, Microsoft rewrote the way windows get drawn. Depending on system settings and video hardware, everything on the desktop is now handled as double-buffered DirectX surfaces (the same way games draw themselves). Some of this new code gets used automatically (without an application necessarily knowing anything about it) and some of it is exposed to applications through new APIs that they have to call deliberately.

    It's possible that some of this new stuff could make this practical, but I don't know because I haven't used it or read its documentation carefully.

    The appearance of the cursor doesn't matter -- if this is doable, the drawing could be anything.
    Last edited by Freddie : 01-17-2010 at 04:00 PM
    �Author of HotkeyNet and Mojo

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •