Quote:
Originally Posted by ExFishermanBob
Are you thinking - "enter some known text" then scan the memory (of the running program) to find out where it lies? If the notepad was started with some fixed (known) text (like "KzS Notepad") it might be easy enough even at run-time. I suspect the problem might be detecting the end of the text (unless you had a fixed-size allocation for any notepad text with an end-marker as well).
|
Well if its a multiline text edit box then wont there be a pointer somewhere to an allocated space big enough to hold enough characters to fill that whole multiline text edit box?