   Faking a large cursor.
  I'm posting this here because I'm using OpenGL. I'm not sure if this is the correct forum.What I want to do is use cursors 64x64 pixels in size. According to Windows' documentation, this is only possible on a full moon with elephants stampeding outside during the winter solstice on a high resolution monitor. (Read: It ain't gonna happen!)The rendered 3D objects I've created for the cursors look really good at 64x64 pixels and above, not not so good at the 32x32 pixel maximum. Faking a cursor in an OpenGL context with an orthographic projection is rather trivial. However, I don't want the cursor to be clipped to the window.Is it possible to create a full screen transparent window for this purpose? How could this be done?   
  By clipping do you mean the window doesn't get the mouse move messages?Try SetCapture, and release it when the mouse cursor gets out of the window completely.Just an idea.. But why is it a problem if the cursor will stay in the window? You could hide it as well, if the mouse is moved off the window.   ;  This is for a tile editor. One of the tools is a grabber hand that is used to pan the tile map around. If the user drags the mouse outside of the editor window, I still want the cursor to be visible. If I just draw a textured quad within the editor window's context, the cursor will disappear. How do I prevent this?   ;  Eh dude. It's not the size of your cursor that matters ;)(Sorry. I could not help myself);  Well, you could make a separate window then. It seems overkill for a cursor, but anyway:Layered WindowsIt seems pretty hard stuff...   ;Quote:Original post by ozakEh dude. It's not the size of your cursor that matters ;)(Sorry. I could not help myself)[oh][lol]Quote:Original post by szecsWell, you could make a separate window then. It seems overkill for a cursor, but anyway:Layered WindowsIt seems pretty hard stuff...I like it! Everything else in Windows is a window, why not the cursor as well?   ;Quote:Original post by maspeirThis is for a tile editor. One of the tools is a grabber hand that is used to pan the tile map around. If the user drags the mouse outside of the editor window, I still want the cursor to be visible. If I just draw a textured quad within the editor window's context, the cursor will disappear. How do I prevent this?solution - when the user performs a drag/rotation operation just freeze the cursor;  How is that a solution?   ;  Hide the real cursor, and draw whatever you want in the cursor's position. Then your cursor can be as big as you want. But now matter how big it is, it still has a 1x1 hotspot.   ;Quote:Original post by DaaarkHide the real cursor, and draw whatever you want in the cursor's position. Then your cursor can be as big as you want. But now matter how big it is, it still has a 1x1 hotspot.Right. That is the plan. BUT, in doing so, the image I draw will be clipped to the client rect of the window. I want this to float above all windows like a normal cursor. szecs posted the solution. As he stated, it is complicated. I almost have it implemented though.This has turned into a GDI problem instead of a OpenGL problem, so this really needs to be moved to Graphics Programming and Theory.   