|
-
Jan 22nd, 2003, 07:07 PM
#1
Thread Starter
Frenzied Member
damn icons!!!
I'm setting the icon of my picture box to vbCrossHairs when I click on the 'zoom window' button that I have on top of the screen.
However, the damn picture box displays a I-beam after doing this and NOT the crosshair icon.
What the heck is going on?
VB Code:
Private Sub cmdZoomWindow_Click()
picMap.MousePointer = vbCrossHairs
End Sub
-
Jan 22nd, 2003, 07:08 PM
#2
Thread Starter
Frenzied Member
Does anyone know where I can find this icon on the web?
-
Jan 22nd, 2003, 08:43 PM
#3
Frenzied Member
Re: damn icons!!!
Try
VB Code:
Private Sub cmdZoomWindow_Click()
picMap.MousePointer = [color="#FF0000"]vbCrosshair[/color]
End Sub
-
Jan 22nd, 2003, 08:57 PM
#4
Frenzied Member
Originally posted by ae_jester
Does anyone know where I can find this icon on the web?
All of your windows cursors are in the directory C:\Windows\Cursors (OR C:\Winnt\Cursors on NT systems).
MicroBasic
Dragon Shadow Trainer
There is no good or evil in the world...only programmers and fools .
-
Jan 23rd, 2003, 12:11 AM
#5
Thread Starter
Frenzied Member
In response to john, that is what i tried, I just made a typo when typing it in here.
I also tried using a .cur (cursor) file and using the loadPicture method to load it in.......but I still don't get anything. The weird thing is, that another button is changing the icon to a .ico file which actually does work.
Do .cur files not work with the icon when using loadpicture?
-
Jan 23rd, 2003, 12:11 AM
#6
Thread Starter
Frenzied Member
In response to john, that is what i tried, I just made a typo when typing it in here.
I also tried using a .cur (cursor) file and using the loadPicture method to load it in.......but I still don't get anything. The weird thing is, that another button is changing the icon to a .ico file which actually does work.
Do .cur files not work with the icon when using loadpicture?
-
Jan 23rd, 2003, 12:43 AM
#7
Frenzied Member
Originally posted by ae_jester
In response to john, that is what i tried, I just made a typo when typing it in here.
Hmm, it's working for me the way I posted it.
-
Jan 23rd, 2003, 12:50 AM
#8
Frenzied Member
This is also working for me...
VB Code:
Set Picture1.MouseIcon = LoadPicture("C:\Program Files\Microsoft Visual Studio\Common\Graphics\Cursors\cross03.cur")
Picture1.MousePointer = 99
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
|