How to make MessageBox window resident parent window or Showmessage middle?

Category: C/C++ -> Foundation Classes Author: jach_23 Date: 2001-11-24 09:50:26
2001-11-24 09:50:26
By default, appear in a MessageBox and Showmessage is seen in the middle of the screen, how to make their living in the middle of the parent window?
2001-11-24 09:55:22
should specify the parent window can now
you set NULL, the default parent window of his window on the screen in the middle of the
2001-11-24 10:03:12
This is the system function, You have to modify the source code ~
2001-11-24 10:06:46

uh, I was wrong

refer to this bar
2001-11-24 10:20:04
specifically how to do ah ? Which are heroes gets advice?
2001-11-24 10:38:22
given link which has ah
write a messagebox control

The postings can also refer to the following

2001-11-24 10:41:55
Run window in the middle, MessageBox and Showmessage in the middle of! !
2001-11-24 10:45:19
like they used to do a MessageBox Form is also pretty good, do not trouble ~ ~
2001-11-24 10:49:07
ShowMessagePos (const AnsiString Msg, int X, int Y ) ;/ / this is a function provided bcb.
X, Y represents the coordinates of the popup.
parent window x, y, length, width, are known.
positioning popup the midpoint of the number of characters that can estimate the midpoint Msg Where, then determine the X, Y, on ok.
2001-11-24 10:51:36
ShowMessagePos this function I know, but because my company is an engineering design company, with Dual monitor screen, many people may pull the right program interface will display operation, so the specified location appears on the left or the Message.

there MessageBox automatically appear in the middle of the way the parent window?