|
-
Dec 23rd, 2001, 05:58 PM
#1
Thread Starter
New Member
Code to access menus
Hello,
I'm working on a program for a friend which has to access menus to get a form. I can't fingd a way to do it
Please Help me !!!
JD
-
Jan 2nd, 2002, 09:40 AM
#2
What menus have to be accessed?
-
Jan 2nd, 2002, 01:51 PM
#3
Thread Starter
New Member
I need to access the yahoo messenger menus
-
Jan 7th, 2002, 04:26 PM
#4
Hyperactive Member
Concept I used...
When I was working with accessing the menu's of other programs, I used Spy++. Monitor the window with the menu for all wm_command messages. When one is executed, it will give you the parameter. Then to execute it(as if the user selected it), you use:
Code:
PostMessage(arrays[0], WM_COMMAND, MAKEWPARAM((0, spyValue), 0), 0) ;
Unforunately, this is the c++ code I used. I was unable to find anything for making a wparam in vb. If you find one, I'd like to know. I found it was much easier to use c++ for interacting with other applications if you are using straight api and then designing a vb front end that shells the program if necessary. Hope this helps.
Joe
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|