|
-
July 22nd, 1999, 10:39 AM
#1
Screen.MouseIcon = Picture1.picture; Doesn't assign . Any Clues ?
Form with PictureBox Control with small .BMP assigned to Picture1.Picture
screen.mousepointer = 99
screen.mouseicon = Picture1.Picture
Causes a wrong property assignment error
although the VB Help states this syntax.
It only works if Picture1.picture is an .ico file and not a .BMP.
Am I missing something ?
R:- ( ..................................
-
July 23rd, 1999, 12:50 AM
#2
Re: Screen.MouseIcon = Picture1.picture; Doesn't assign . Any Clues ?
Cursor and Icon file formats are different from BMP files. AFAIK, you have to have set of (2) masked images to make a mouse cursor file!.
So, may be BMPs are not supported for MouseIcons.
Using propertied window if you select Mouseicon it comesup with a dialog showing *.cur and *.ico!!
MSDN says Color cursors and animated cursors also are not supported ( VB 5.0, atlease!)
-
July 23rd, 1999, 04:36 AM
#3
Re: Screen.MouseIcon = Picture1.picture; Doesn't assign . Any Clues ?
Thanks Ravi
R;- ).......................................
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|