C and C++ Programming Resources

GUI Automation

Discuss simple terms about declaring a simple variable to more complex Visual C++ problems.

Postby Georgy » Mon Mar 17, 2008 6:15 am

Any body knows how to detect all the controls in a window including button controls, input controls and other menus in any windows.  I am trying to develop a tool for GUI Automation.
Georgy
 
Posts: 1
Joined: Mon Mar 17, 2008 6:12 am
Location: India

Re: GUI Automation

Postby kenji » Sat Mar 21, 2009 7:33 pm

You need to first get the ASCII values for the keys I recomend that you code a simple loop that ask you to enter a key and you print the ASCII value out.
Then use #define to set the values to keys. ie #define ESC 27 and getch() to check whether a key was pressed.
kenji
 
Posts: 8
Joined: Fri Mar 20, 2009 5:18 am


Return to Visual C++ Programming

Who is online

Users browsing this forum: No registered users and 0 guests

cron