Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Controlling another application's Menubar??

Status
Not open for further replies.

gandapanda

Programmer
Dec 4, 2001
19
0
0
US
hello... i am currently working on a project for school... heres what i need to do:
CONTROL THE MENUBAR OF ANOTHER APPLICATION FROM C++
-THE OTHER APPLICATION IS IBM VIAVOICE
-WHAT I NEED TO DO IS SAVE WHATEVER COMES UP ON VIAVOICE (THIS NEEDS TO BE DONE FROM THE C++ EXECUTABLE)
i am aware of commands such as FindWindow() and GetMenu()
but i'm not sure how to use them... ANY HELP FROM ANY PERSON IS VERY APPRECIATED... THIS IS A GREAT SITE FOR INFO ABOUT SOFTWARE DEVELOPMENT!!!

Detailed description of Our Project:
A voice activated MP3 Player:
-the user speaks into a mic
-the mic input comes up on the viavoice's main screen
-c++ compares the input to its database to see whether
song requested exists
-song is played if the selection is valid
 
hello... i am currently working on a project for school... heres what i need to do:
CONTROL THE MENUBAR OF ANOTHER APPLICATION FROM C++
-THE OTHER APPLICATION IS IBM VIAVOICE
-WHAT I NEED TO DO IS SAVE WHATEVER COMES UP ON VIAVOICE (THIS NEEDS TO BE DONE FROM THE C++ EXECUTABLE)
i am aware of commands such as FindWindow() and GetMenu()
but i'm not sure how to use them... ANY HELP FROM ANY PERSON IS VERY APPRECIATED... THIS IS A GREAT SITE FOR INFO ABOUT SOFTWARE DEVELOPMENT!!!

Detailed description of Our Project:
A voice activated MP3 Player:
-the user speaks into a mic
-the mic input comes up on the viavoice's main screen
-c++ compares the input to its database to see whether
song requested exists
-song is played if the selection is valid
 
See my answer to Your first question. To find CWnd from Handle, use:
CWnd * pWnd = FromHandle( hWnd );
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top