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
 
jach_23
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?
zhengmingxiong
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
qq395521229
2001-11-24 10:03:12
This is the system function, You have to modify the source code ~
waqibazao
2001-11-24 10:06:46


uh, I was wrong

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

The postings can also refer to the following

abac123456
2001-11-24 10:41:55
Run window in the middle, MessageBox and Showmessage in the middle of! !
BOBSHANGBOB
2001-11-24 10:45:19
like they used to do a MessageBox Form is also pretty good, do not trouble ~ ~
winter1980
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.
YaoAlexChen
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?