[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

loading a bitmap into a cursor



hi
i am having a problem loading a bitmap into a cursor, which is defined 
as an instance variable in a modified frame class. i would like to 
customize the appearance of my cursor in a given window, using 
set-cursor to use my defined cursor. the loading of the bitmap always 
fails. what am i doing wrong?
the .gif file is in the same folder of the .scm file.

this is the code:
(define newframe%
	(...
	(private
	[mycursor (make-object cursor% "mycursor.gif" 'gif 10 10)])
			..))

thanks

-- 
Hassoun Karam
hassoun.karam.1@agora.ulaval.ca