Guest jedenuser Posted February 21, 2007 Posted February 21, 2007 (edited) Hi I'm a noob and this is my first post. I have a question. I'm writing a little program to automatize use of my messenger (Gadu-Gadu). My problem is below: I have used this: SendMessage(hDlg, WM_COMMAND, 1012,0) to send message to "Niedostepny" button and it works ok and opens the menu. But now how do I simulate move of the cursor over "Opis.. " menu item and press "Enter" button? Or could I send a message to that menu to execute that menu item? How to do that? Alternatively, is there any way to call a program's certain dialog box from outside the program? So I could call my desired window directly, without doing the things above? Can this be done somehow? I appreciate any help. Thanks. Sorry for my bad english. Edited February 21, 2007 by jedenuser
F0X Posted February 22, 2007 Posted February 22, 2007 I see your on the ARteam forum too mate ^^ but uhm... could you state your problem more clearly.. is it just me or is this a bit vage O.O
GaBoR Posted February 23, 2007 Posted February 23, 2007 Use SetCursorPos & mouse_event or SendInput functions. Look it up on msdn.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now