|
-
May 15th, 2000, 07:40 AM
#1
I am not making an AOL program or anything but I always wondered how those programmers do one thing. How do those programs find the AOL window without knowing it's caption off hand? For example, if you use:
appactivate "America Online" it wont work because AOL's caption changes as you go from chat room to chat room. So how do those programs find the window no matter what the caption of AOL is? I know it has something to do with handles and hWnd, but i haven't learned that yet.
So lets say i want to make a VB program that has a text box and a command button only. I want to enter a message in the text box and when i click on the button, it will find Napsters window and enter the text into the box where i would type my message to talk in napster. First how would i find the napster window no matter what the caption was? Then how would i be able to set focus to the box where you type your messages in napster, and my program will enter what i typed into napster, and then send my message?
If you dont understand what im talking about, then just reply and tell me, so i can ******** myself.
Also how do those AOL programs pick up the last typed message in the chat rooms and stuff? If you know how all those AOL program features work, please reply and tell me where i can read about all this stuff. I know it is too much code to post here, but give me a direction where i can learn how to find window handles and stuff. Any help is greatly apreciated.
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
|