Thanks to the Tutorial I can now put cool looking Windows Message Boxes into my 32-bit console applications.
I can't however get them to appear in the middle of my console window, unless I position my console in the centre of the screen all the time.
I think that I need to do something with the HWND parameter within the MessageBox function to achieve this.
At the moment my MessageBox function looks something like this...
What should I change "NULL" to in order to 'tell the message box' who its owner is?Code:MessageBox(NULL, "Program Successfully Completed", "Program Message ", MB_OK);
What other changes need to be made within the rest of the program to accomodate this?
Thanks in advance.