PDA

View Full Version : Positioning Detached Process Window



GTBuilder
8th March 2008, 22:12
Is there a way to specify where a detached process appears on the screen in Windows? My parent widget writes some instructions for the user about the detached process, but the process window, although relatively small, appears on top of the instructions. It's not a normal window, so can't be dragged out of the way.

wysota
8th March 2008, 22:57
Is there a way to specify where a detached process appears on the screen in Windows?
Using Qt - no. But you can use SendMessage/PostMessage() WinAPI call to tell the window to move to a desired location.

GTBuilder
10th March 2008, 01:17
Wysota,

Thanks for the input. I was afraid that would be the answer. Guess I'll just have to learn some WinAPI fundamentals.