The information in this article applies to:
SYMPTOMSWhen an application that implements banding calls EndPage(), EndPage() returns SP_ERROR (-1). CAUSEEndPage() returns -1 if there has been no corresponding call to
StartPage(). Windows keeps track of whether StartPage() has been called by maintaining an internal flag that is set when StartPage() is called and then is cleared when EndPage() is called.
RESOLUTION
Though EndPage() returns -1 when it is called from printing code that implements banding, it does no harm. An application can safely call
StartPage() and EndPage() when banding and ignore the -1 error returned from EndPage().
STATUSThis behavior is by design. Additional query words: 3.10 4.00 NEWFRAME
Keywords : kbNTOS350 kbNTOS351 kbDSupport kbSDKWin16 |
Last Reviewed: July 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |