If you look at a Notepad window with AHK's Window Spy, under the
>>>>( TitleMatchMode=slow Visible Text )<<<<
title, you will see the content of Notepad.
If you do the same with SciTE, a text editor using the Scintilla source code editing component, you will not see the content of the window.
That's because Scintilla is made from the ground up, it draws text in its area. It looks like, say, RichEdit, because it has been made to react like it, allowing selecting with mouse, reacting to clipboard commands, etc. It even react politely to the most common messages of the Edit and RichEdit controls, to be nice to AHK (initially AutoIt

) or text readers for the blinds.
Code:
EM_GETSEL = 0xB0
SendMessage EM_GETSEL, 0, 0, Scintilla1, A
start := ErrorLevel & 0xFFFF
end := (ErrorLevel - start) >> 16
MsgBox %ErrorLevel% - %start% / %end%
Side note for Chris: I tried to put
start, end or
&start, &end in place of wParam, lParam, but it doesn't work. Did I made an error or is that a limitation of SendMessage?
In this case, we cannot use EM_GETSELTEXT...
So, we have here a custom component that look and feel like a standard Windows component, but that may react differently. Such component, if it doesn't support standard Windows messages, can be hard to automate.
Note that Scintilla has its own set of messages, that you can use to fully control it... It can even be integrated to a AHK GUI (I didn't tried...)
A program like PuTTY (telnet application) does the same: you can see nothing with Window Spy.
The fact that you can select text and copy it is already nice.
Perhaps you can examine it with Window Spy (AU3_Spy.exe), capture the output and paste it here.