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 


[Solved] Double Click Virtual Key (PMA)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Sat Dec 06, 2008 3:52 am    Post subject: [Solved] Double Click Virtual Key (PMA) Reply with quote

hey is anyone able to tell me if there's a VK code for double click? i've got left click sending through PostMessage, which i'm using for MapleStory (i got bored) and works fine, but i can't seem to send a double click. i've googled for a while but nothing seems to be helping me.

if someone could give me a quick hand i'd apreciate it.

_________________


Last edited by FullyAwesome on Sat Dec 06, 2008 1:21 pm; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Sat Dec 06, 2008 10:30 am    Post subject: Reply with quote

Code:

POINT CursorCoords;

GetCursorPos(&CursorCoords);
PostMessageA(hwnd,WM_LBUTTONDBLCLK,MK_LBUTTON,MAKELPARAM(CursorCoords.x, CursorCoords.y));
PostMessageA(hwnd,WM_LBUTTONUP,MK_LBUTTON,MAKELPARAM(CursorCoords.x, CursorCoords.y));
Back to top
View user's profile Send private message
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Sat Dec 06, 2008 1:18 pm    Post subject: Reply with quote

smartz993 wrote:
Code:

POINT CursorCoords;

GetCursorPos(&CursorCoords);
PostMessageA(hwnd,WM_LBUTTONDBLCLK,MK_LBUTTON,MAKELPARAM(CursorCoords.x, CursorCoords.y));
PostMessageA(hwnd,WM_LBUTTONUP,MK_LBUTTON,MAKELPARAM(CursorCoords.x, CursorCoords.y));


i know that, but what's the value of "WM_LBUTTONDBLCLK"?

EDIT: it's ok, i found it just now using different search keywords: 0x203. thanks anyone mate.

_________________
Back to top
View user's profile Send private message MSN Messenger
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