Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports: PEOutputToWindow
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Crystal Reports: PEOutputToWindow
Miscellaneous
Thread ID:
00081441
Message ID:
00081441
Views:
116
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
Next
Reply
Map
View

Click here to load this message in the networking platform