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 


[VB] AutoClick In Window Screen

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
chimmy
Master Cheater
Reputation: 1

Joined: 23 Jul 2008
Posts: 358

PostPosted: Tue Aug 05, 2008 1:11 pm    Post subject: [VB] AutoClick In Window Screen Reply with quote

I seen other people's program that generally do this and i really need help doing this. I tried looking up searches, but nothing showed up. Any help is appreciated and repped Very Happy
Back to top
View user's profile Send private message
Fuzz
Grandmaster Cheater
Reputation: 0

Joined: 12 Nov 2006
Posts: 531

PostPosted: Tue Aug 05, 2008 1:48 pm    Post subject: Reply with quote

If you want an autoclicker to only click on the specified window, I think PostMessage would do? But i'm not sure, and i have no idea what your asking.
Back to top
View user's profile Send private message AIM Address
chimmy
Master Cheater
Reputation: 1

Joined: 23 Jul 2008
Posts: 358

PostPosted: Tue Aug 05, 2008 1:56 pm    Post subject: Reply with quote

I'm making an auto program that i need it to auto click on a certain point when the timer is done so i just need it to click within the application not outside.
Back to top
View user's profile Send private message
kitterz
Grandmaster Cheater Supreme
Reputation: 0

Joined: 24 Dec 2007
Posts: 1268

PostPosted: Tue Aug 05, 2008 2:03 pm    Post subject: Reply with quote

PostMessage() or SendInput ()

PostMessage() with explination + src

http://forum.cheatengine.org/viewtopic.php?p=2091924&sid=74e9bae180e6732a1e87ea314be48d34
Back to top
View user's profile Send private message Send e-mail
chimmy
Master Cheater
Reputation: 1

Joined: 23 Jul 2008
Posts: 358

PostPosted: Tue Aug 05, 2008 2:08 pm    Post subject: Reply with quote

that's writting in C++ i need one in visual basic 6.0 Confused
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Tue Aug 05, 2008 9:58 pm    Post subject: Reply with quote

chimmy wrote:
that's writting in C++ i need one in visual basic 6.0 Confused


Like he said, Send/PostMessage, or use SendInput.

go learn more if you don't know how the Win32 API works
Back to top
View user's profile Send private message
Fuzz
Grandmaster Cheater
Reputation: 0

Joined: 12 Nov 2006
Posts: 531

PostPosted: Wed Aug 06, 2008 9:02 am    Post subject: Reply with quote

Code:
Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hwnd As Long, _
                                                                ByVal wMsg As Long, _
                                                                ByVal wParam As Long, _
                                                                ByVal lParam As Long) As Long

Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, _
                                                                ByVal wMsg As Long, _
                                                                ByVal wParam As Long, lParam As Any) As Long
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
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