>Thanks a lot, i got it to work. However, my input box does really stay on top. When it loads it gets to the top, but the user can still work with the software without doing anything with the input box. In other words, the input box is not modal to the software. Do you know how I can do that? Can SetWindowPos() do it?
I believe the window will have to be declared modal when it is created and shown. SetWindowPos() cannot force a window to be modal.
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.