C++
int acedAlert( const ACHAR * str );
File
acedads.h
Description
Displays an alert box with an error or warning message. An alert box is a dialog box with a single OK button. If you want the message to have multiple lines, you can include newline characters (specified by n) in the string.
Note This function displays the "native" alert box mechanism of the platform on which AutoCAD is running to preserve that platform's look and feel. If your program needs to display an alert box that differs from the standard in any way other than the contents of the text message, you need to design a customized alert box.
Returns RTNORM on success; otherwise, returns RTERROR.
Parameters
Parameters | Description |
---|---|
str | Message to display (maximum of 132 characters with the 133rd slot reserved as the end-of-string character) |