Getting Text From a Window

Hey, I'm a noob to this forum. I've been lurking for a while, but I never had to post a question. It's been about ten years since I looked at a line of code.

I can't seem to remember the preferred means of allowing a user to type text into a text area in a window, and then putting this text into a string or other container for use in my application.

It's easy enough to write text to a window with something like TextOut.
So how do you read text from a window? (or other object in a window) If there are structures, or functions that work for this, just point me in the right direction, and I can research it further on MSDN.

Thanks for the help.
Last edited on
I recommend the tutorial part of this website. You should be able to find the answers you need there.
Found what I needed!

GetWindowText & SetWindowText.

All the stuff you need is on MSDN... if you can find it. Phew!
Topic archived. No new replies allowed.