 |
 |

04-15-2004, 02:47 AM
|
|
Regular
|
|
Join Date: Jan 2004
Posts: 56
|
|
Mouse Pointer
|
hi.. how do i change my mouse pointer when i move my move to certain label, txtbox, etc.. ? thanks for any help..
|
|

04-15-2004, 02:50 AM
|
 |
Contributor
|
|
Join Date: Oct 2003
Location: Aachen, Germany
Posts: 407
|
|
|
setup the mouspointer and mouseicon property for those labels, textboxes etc.
|
Last edited by Azr@el; 04-15-2004 at 05:13 AM.
|

04-15-2004, 03:03 AM
|
|
Regular
|
|
Join Date: Jan 2004
Posts: 56
|
|
|

04-15-2004, 03:06 AM
|
|
Regular
|
|
Join Date: Jan 2004
Posts: 56
|
|
|
hmmm, i can't find the "finger" pointer like the pointer in here.. i found out that there is a custom stuff.. how do i actually make it into a finger pointer? and to add on.. how do i change the mousepointer when i click on the lbl?
|
Last edited by weide; 04-15-2004 at 03:12 AM.
|

04-15-2004, 04:23 AM
|
 |
Contributor
|
|
Join Date: Oct 2003
Location: Aachen, Germany
Posts: 407
|
|
|
Icons and cursers are similar
search for an finger-icon, and if there is none, create one with any icon-editor.
change the mousepointer/mouseicon property in the Click()-event
|
Last edited by Azr@el; 04-15-2004 at 05:13 AM.
|

04-15-2004, 04:48 AM
|
|
Regular
|
|
Join Date: Jan 2004
Posts: 56
|
|
Quote:
|
Originally Posted by Azr@el
Icons and cursers are similar
search for an finger-icon, and if there is none, create one with any icon-editor.
change the mousepointer-propert in the Click()-event
|
hmmm.. how do i change the mousepointer_property in the click()_event? can i have the whole command?
|
|

04-15-2004, 05:14 AM
|
 |
Contributor
|
|
Join Date: Oct 2003
Location: Aachen, Germany
Posts: 407
|
|
|
YourObject.MousePointer = 99
YourObject.MouseIcon = LoadPicture(YourPath)
|
|

04-15-2004, 05:16 AM
|
|
Regular
|
|
Join Date: Jan 2004
Posts: 56
|
|
Quote:
|
Originally Posted by Azr@el
YourObject.MousePointer = 99
YourObject.MouseIcon = LoadPicture(YourPath)
|
ok thanks..
|
|

04-15-2004, 06:01 AM
|
|
Regular
|
|
Join Date: Jan 2004
Posts: 56
|
|
|
ok.. another problem..
i have timer1 which has the following code
Private Sub timer1_timer()
Timer1.Interval = 1000
Static icount As Integer
icount = icount + 1
If icount = 2 Then
lbltest.MousePointer = 2
Timer1.Enabled = False
End If
End Sub
and lbltest with the following code
Private Sub lbltest_Click()
lbltest.MousePointer = 13
Timer1.Enabled = True
end sub
when click on the lbltest.. the pointer(13) just hang there without switching to pointer(2) after 2 secs..
|
|

04-15-2004, 06:23 AM
|
|
Enthusiast
Retired Leader * Expert *
|
|
Join Date: Apr 2002
Location: Bellevue, WA.
Posts: 3,233
|
|
|
Make sure your timer is disabled on startup. It may be enabled and running when you start and is already past 2 when you click on the label.
Also, I am curious about the hand mouse pointer also. Is it possible to extract it from Windows? It seems a strange to have to make one when there is one already in the operating system.
|
|

04-15-2004, 06:25 AM
|
|
Regular
|
|
Join Date: Jan 2004
Posts: 56
|
|
|
i am using window xp.. the mouse icons can be taken from c:\windows\cursors
|
|

04-15-2004, 06:37 AM
|
 |
Contributor
|
|
Join Date: Oct 2003
Location: Aachen, Germany
Posts: 407
|
|
|
propalbly the timer's interval is 0 right?
u set it IN the timerroutine, which is not fire if interval is 0
and yes, the icons ARE within the OS, but in a dll. u'll need to extract it from there
|
|

04-15-2004, 06:42 AM
|
|
Regular
|
|
Join Date: Jan 2004
Posts: 56
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
|
|
 |
|