In your application's resource script file, provide a dialog-box template for the Abort dialog box. For example:
AbortDlg DIALOG 20,20,90, 64
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION “PrntFile”
BEGIN
DefPushButton “Cancel”, IDCANCEL, 29, 44, 32, 14, WS_GROUP
Ctext “Sending”, -1, 0, 8, 90, 8
Ctext “text”, IDC_FILENAME, 0, 18, 90, 8
Ctext “to print spooler.”, -1, 0, 28, 90, 8
END