Sorry for the long thread title, but what I basically want to do is make a program for os X in C++ (cause that's the language I know best). So I designed an interface with a text box in it. (Yeah this took all of three seconds.)
Anyway, I want the program to analyze text in that box, but I'm not sure how to pass the text from the box, to the C++ application. If I could just get it as a variable, I could do everything I want.
For example, let's say I start typing in the box. I want the program to wait until I'm done typing (or have finished a command) then do whatever that command says. (Of course all of the commands will be hard coded into the application. And the first command I make will be a command to make other commands.)
So I guess what I'm really asking is, how to I get the text out of the text box in the window that's part of the interface? Thank!!
EDIT: Nevermind I figured it out!
Anyway, I want the program to analyze text in that box, but I'm not sure how to pass the text from the box, to the C++ application. If I could just get it as a variable, I could do everything I want.
For example, let's say I start typing in the box. I want the program to wait until I'm done typing (or have finished a command) then do whatever that command says. (Of course all of the commands will be hard coded into the application. And the first command I make will be a command to make other commands.)
So I guess what I'm really asking is, how to I get the text out of the text box in the window that's part of the interface? Thank!!
EDIT: Nevermind I figured it out!