View Full Version : Change Mouse-Pointer to image
12-09-2004, 03:06 AM
i am participating in writing an interface and i want the mouse-pointer to change to an image when a button is pressed .. how can i do this change??
thank you for your help ..
12-09-2004, 03:12 AM
depends on the OS.
in linux you can use XCreatePixmapCursor to create a new cursor and XDefineCursor to apply this cursor to a certain window.
and before someone else does it, i have to remark:
this is not an opengl related question...
12-11-2004, 12:38 AM
in windows this is easy to change cursor if you're using Win32 lib
check the MSDN (http://www.msdn.microsoft.com) out
12-11-2004, 01:51 PM
thanx for your answers .. i did not knew that this is not open gl related, because we are programming this interface in open gl .. btw: we are using windows ..
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.