I was trying to get the text of a control from an application. So I first tried using GetWindowText and got a string back but to my surprise it wasn't the text in the actual control. So I used WM_GETTEXT instead and now I got the text of the control. Why is it that I get two different results using these two approaches? Doesn't GetWindowText just send the WM_GETTEXT message?