|
-
Sep 29th, 2002, 09:33 PM
#1
Thread Starter
Frenzied Member
mouse over effects
anyone know of any good mouseover controls or code..to create a mouse over effect for my command buttons?
:::`DISCLAIMER`:::
Do NOT take anything i have posted to be truthful in any way, shape or form.
Thank You!
--------------------------------
"Never heard about "hiking" poles. I usualy just grab a stick from the nature, and use that as a pole." - NoteMe
"Finaly I can look as gay as I want..." - NoteMe
Languages: VB6, BASIC, Java, C#. C++
-
Sep 29th, 2002, 09:36 PM
#2
PowerPoster
Command Button responds to MouseMove event. What do you need to do?
-
Sep 29th, 2002, 09:37 PM
#3
-
Sep 29th, 2002, 09:42 PM
#4
Thread Starter
Frenzied Member
ty
thx mc.. just what i was looking for
:::`DISCLAIMER`:::
Do NOT take anything i have posted to be truthful in any way, shape or form.
Thank You!
--------------------------------
"Never heard about "hiking" poles. I usualy just grab a stick from the nature, and use that as a pole." - NoteMe
"Finaly I can look as gay as I want..." - NoteMe
Languages: VB6, BASIC, Java, C#. C++
-
Sep 29th, 2002, 10:14 PM
#5
Thread Starter
Frenzied Member
Well..
i thought i'd go ahead and post what i did to the code mc told..
VB Code:
Private Sub Command2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
' will change the background color for the command button
With Command2
If (X < 0) Or (Y < 0) Or (X > .Width) Or (Y > .Height) Then
ReleaseCapture
Command2.BackColor = &HE0E0E0
Else
SetCapture .hwnd
Command2.BackColor = vbWhite
End If
End With
End Sub
and had to do one for every command button lol.. so now i have a cool mouseover effect on my buttons
:::`DISCLAIMER`:::
Do NOT take anything i have posted to be truthful in any way, shape or form.
Thank You!
--------------------------------
"Never heard about "hiking" poles. I usualy just grab a stick from the nature, and use that as a pole." - NoteMe
"Finaly I can look as gay as I want..." - NoteMe
Languages: VB6, BASIC, Java, C#. C++
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
|