Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print PDF file from VFP directly?
Message
De
28/09/2004 17:47:31
 
 
À
28/09/2004 16:51:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00904836
Message ID:
00946980
Vues:
59
The custom window title is stored where? and how?

What is the complete title of the reader window when one of these are opened? Does it still says "Acrobat Reader -[ " at the beginning? Could this work?
   *== Printing has begun when PDF name appears in title of Reader window
   DO WHILE .t.
      getwindowtext(lnReaderHwnd, @lcWindowTitle, lnWindowTitleLen)
      IF "- [" $ lcWindowTitle
         EXIT
      ENDIF
   ENDDO

   *== Printing has finished when PDF name no longer in title
   DO WHILE .t.
      lcWindowTitle = SPACE(50)
      getwindowtext(lnReaderHwnd, @lcWindowTitle, lnWindowTitleLen)
      IF ! "- [" $ lcWindowTitle
         EXIT
      ENDIF
   ENDDO
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform