Sends an image of a Panther widget as an attachment to the mail messageint sm_mail_widget(int obj_id, char *widget_name, char *attachment_name, int quality);int sm_n_mail_widget(char *name, char *widget_name, char *attachment_name, int quality);
- The mail object ID.
- The name assigned to the mail object.
- The widget to be converted to a JPEG file and attached to the mail message.
PR_APPLICATIONwill send the complete MDI frame.
- The name to use when the file is saved by the message recipient. If the null string or null pointer is passed, the name used depends on the widget.
- An integer from 0 to 100. Low numbers give poorer image quality but reduce the file size.
sm_*mail_widgetcan only be used in
prorun. The screen image of a widget is converted to a JPEG file and attached to the mail message.