Displays a message box at a specified location.
procedure ShowMessagePos(const Msg: string; X: Integer; Y: Integer);
ShowMessagePos(const AnsiString Msg, int X, int Y);
Dialogs
Call ShowMessagePos to display a simple message box with an OK button at a specified location. The name of the application's executable file appears as the caption of the message box.
The Msg parameter is the message that appears in the message box.
X and Y specify the screen coordinates where the message box should appear. A value of –1 means that the message box can appear anywhere in the specified dimension.
To display a message in a message box with other buttons, or with an icon, use the MessageDlg function.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|