If I use MessageBox() to create a simple message box for my window (to be specific a Dialog Box), if it is maximized, MessageBox will de-maximize (restore to its original size) the window. I'm not sure if this is the intended behaviour, but is there anyway to prevent this?