Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[VB6] Any way to add custom made buttons?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
I'm C.H.
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Dec 2006
Posts: 1000
Location: Sweden

PostPosted: Wed Jan 30, 2008 11:24 am    Post subject: Reply with quote

I've gotten to make the image change when you put mouse over it but how do I make so that when you remove mouse, it gets back to original?
_________________
Omg. I need something to do...

*-* My Flash Trainers *-*

*-* My Mouse Vac Tut *-*

Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Wed Jan 30, 2008 2:47 pm    Post subject: Reply with quote

Something like:

Form_MouseOver
[your picture code here]

Or the object around the picture

_________________
Back to top
View user's profile Send private message
I'm C.H.
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Dec 2006
Posts: 1000
Location: Sweden

PostPosted: Wed Jan 30, 2008 3:12 pm    Post subject: Reply with quote

Nothing Happens. Is there even a Form_MouseOver?

I've Tried:

Code:
Private Sub Form_MouseOver()
Command2.Picture = LoadPicture(App.Path & "/CloseLostFocus.gif")
End Sub

And
Code:
Private Sub Form1_MouseOver()
Command2.Picture = LoadPicture(App.Path & "/CloseLostFocus.gif")
End Sub

But none work -.-"

Edit: Nvm I put a object instead. Thanks Razz

_________________
Omg. I need something to do...

*-* My Flash Trainers *-*

*-* My Mouse Vac Tut *-*

Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Wed Jan 30, 2008 3:15 pm    Post subject: Reply with quote

No, you have to set it above, it will auto set the event for you.
This is the event:
Code:
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)

End Sub

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites