Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Reports: PEOutputToWindow
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Crystal Reports: PEOutputToWindow
Divers
Thread ID:
00081441
Message ID:
00081441
Vues:
120
Another chapter in my ongoing crystal reports saga (you out there Ian?) ;-) ...

I am trying to use the dll function PEOutputToWindow in crystal reports which is defined as:
*****************
BOOL CRPE_API PEOutputToWindow (
short printjob,
char FAR *title,
short left,
short top,
short width,
short height,
long style,
HWND parentwindow
);
*****************

My declare statement is:
*****************
DECLARE PEOutputToWindow IN CRPE32.DLL ;
short printjob, ;
strin printtitle, ;
integ printleft, ;
integ printtop, ;
integ printwidth, ;
integ printheight, ;
integ printstyle, ;
integ parentwinow
*****************

I am having two problems. The first problem is that unless I create a messagebox right after calling the function, the print preview window will close immediately. If I place a messagebox after the function call the window stays open, but I can't get it to be the front window or the child window of my app...anyone have any advil handy? :).

Michael G. Emmons
memmons@nc.rr.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform