Register for your free account! | Forgot your password?

Go Back   elitepvpers > Aion > Aion Main - Discussions / Questions
You last visited: Today at 19:47

  • Please register to post and access all features, it's quick, easy and FREE!

 

C++ - Sending WM_WM_LBUTTONDOWN to Aion

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2009
Posts: 129
Received Thanks: 15
C++ - Sending WM_WM_LBUTTONDOWN to Aion

Hey, can anyone help me? I try to send a Message to Aion via SendMessage():

Code:
#include <iostream>
#include <Windows.h>

using namespace std;

int main()
{
	HWND hWnd = FindWindowA(NULL, "AION Client");
	if(!hWnd)
	{
		cout << "Fail" << endl;
		getchar();
		getchar();
		exit(1);
	}


	Sleep(5000);

	SendMessage(hWnd,WM_LBUTTONDOWN,0,0);
	Sleep(100);
    SendMessage(hWnd,WM_LBUTTONUP,0,0); 
}
But nothing happens. Does anyone know how I can make this work?

THX!



jackicola is offline  
Old   #2
 
elite*gold: 450
Join Date: Nov 2010
Posts: 219
Received Thanks: 250
Nothing. This works.


Blastradius is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
Aion 1.9.0.3 sending keystrokes in background mode
Hello to all! I'am trying to send keystrokes in BACKGROUND MODE to AION client using C++ (Builder2009): I do it like that: ......
1 Replies - Aion Main - Discussions / Questions
sending
Hello!
1 Replies - Say Hello



All times are GMT +2. The time now is 19:47.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.