Could someone tell me if it is possible to give screen co ordinates for positioning MessageBoxes using MFC, thanks.
Could someone tell me if it is possible to give screen co ordinates for positioning MessageBoxes using MFC, thanks.
Compiler == Visual C++ 6.0"Come Out Fighting."
- Create a thread to display a message box with a known title
- In the main thread, use FindWindow() to get the HWND of the message box
- Call MoveWindow()
You will want to put some retry logic on the FindWindow() call to allow the other thread to finish creating the message box.
gg
Thanks a lot for that Codeplug, it worked, first time aswell!!!!!!!
Compiler == Visual C++ 6.0"Come Out Fighting."