Tim,

Here's my solution for OS X, not sure if it can be done for windows, or even if it's a problem on that platform.

 Function CancelPrinting() as boolean

  dim ok As Boolean

  // MACINTOSH
  #IF TargetMacOS
        #IF TargetCarbon
        Declare SUB PMError Lib "CarbonLib" () as Integer
        #ELSE
         Declare SUB PMError Lib "InterfaceLib" alias "PrError" () as Short
        #ENDIF
  ok = (PMError() <> 0)

  // WINDOWS
  #ELSE
         ok = False  // Don't know if it's possible in Win32
  #ENDIF

  RETURN ok

End Function

Now in your main loop, just before beginning drawing a new page, test if the
user have not hit the Cancel button :

    If CancelPrinting() then
        ...
    End if

This solved the issue for me,

Cheers,
Tom

On 04/01/2007, at 9:41 AM, Tim Jones wrote:

Hi Folks,

Title says it all.  This is true all the way back to 5.5.5.

        http://www.realsoftware.com/feedback/viewreport.php?reportid=lgeaxbar

Please sign on if this affects you or your apps.

Tim
--
Tim Jones
[EMAIL PROTECTED]

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to