"Dimitrie O. Paun" dpaun@rogers.com writes:
My question is: shouldn't we alwas call WM_GETTEXT here, and do the switch between current process/other process in the lower levels?
That's the way GetWindowText is supposed to work according to MSDN.
What if the application sends the WM_GETTEXT message, and bypasses the GetWindowTextW? Then it wouldn't work, right? Just curious how all these are gonna play out...
Sure it will work just fine (even better actually since it will do the right thing for edit controls etc.)