I need to read the contents of an editbox (or possibly a richedit box) from another program, and I'm not at all sure how to do this. GetWindowText() works when called on editboxes from my own program, but it just returns an empty string when I've tried it on editboxes from other programs. Does anyone know how I could do this?