I am making my first AIM chat proggie. I need to know how to get the full chat text of what has been said from the IM window. I have the key sending but how do I do this?
I am making my first AIM chat proggie. I need to know how to get the full chat text of what has been said from the IM window. I have the key sending but how do I do this?
Website(s): http://www16.brinkster.com/trifaze/
E-mail: [email protected]
---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
Are you using Winsock to do this? I'm not too familiar with Winsock, but you can just send when the user presses a button (or for something like this, a virt key maybe) and then send the necessary string.
I'm not really quite sure I understand your question, though. Could you explain it a little better?
1978 Silver Anniversary Corvette
Ok. AIM has 2 edit boxes. The bottom is where you type your messages and top is where the full chat text and messages from other users send their messages. That's the one I want to get the text from.
Website(s): http://www16.brinkster.com/trifaze/
E-mail: [email protected]
---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
GetWindowText might do what you want. Look it up on MSDN...
1978 Silver Anniversary Corvette
I need to get the handle to the window. I tried EnumChildWindows but none of them are it. How do I find the right window? Also, GetWindowText didn't work. I think they use RichEdit.
Website(s): http://www16.brinkster.com/trifaze/
E-mail: [email protected]
---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
Arg! I know how to do this ::hits head numerous times::
Let me see, try:
hwndctrl = GetDlgItem(hwnd, id);
I think this is how you get the handle of the control. Try this out and if it doesn't work, then I'll do some extensive research for you
1978 Silver Anniversary Corvette
First, I need the id of the window.
Website(s): http://www16.brinkster.com/trifaze/
E-mail: [email protected]
---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
Ummm...isn't your ID a global constant?
1978 Silver Anniversary Corvette
What ID?
Website(s): http://www16.brinkster.com/trifaze/
E-mail: [email protected]
---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
Alright, when you created the child window with CreateWindow(Ex), you had to specify the child window's menu with type HMENU in the nth parameter. That's what you need to put as ID in the function's 2nd parameter.
1978 Silver Anniversary Corvette
I need to get the chat text window in an IM window of AIM.
Website(s): http://www16.brinkster.com/trifaze/
E-mail: [email protected]
---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
Oh, you mean the AIM window! I thought you were trying to create your own window. Sorry for the confusion...
1978 Silver Anniversary Corvette
Believe it or not, it may be impossible. I've tried using Spy++ but it can't find it.
Like I said before I don't know much Winsock, but maybe you could catch what's coming in that goes to AIM, but before it goes to aim, you could process that data and use it. I wouldn't know how to go about this though, it is just a logical thought...
1978 Silver Anniversary Corvette
I have seen this in other AIM proggies...
Website(s): http://www16.brinkster.com/trifaze/
E-mail: [email protected]
---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK