Win32 Print Preview Question


Subject: Win32 Print Preview Question
From: Dom Lachowicz (cinamod@hotmail.com)
Date: Wed Jan 03 2001 - 14:25:24 CST


Hi Win32 Guys,

I was just browsing through some print dialog and graphics code here at work
and I was wondering if creating a print preview dialog on win32 would be
much of a hassle to do.

All I see that would need to be done is:

1) Create a Win32PrintPreview Graphics class that would be about 30 lines
long

2) Make a call to 'CreateDC ("DISPLAY", NULL, NULL, pDevMode);' and pass
that to GR_Win32Graphics (HDC, DOCINFO, XAP_APP);

3) Change a few #ifdefs from 'HAVE_GNOME' to 'HAVE_GNOME || WIN32'

Is this right? If someone (Mike N.? Tom?) would point me to some VC++
project files (or other info) so that I could get Abi to compile on my Win2k
box, I would be more than happy to do this if you would rather not do it.

Dom
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com



This archive was generated by hypermail 2b25 : Wed Jan 03 2001 - 14:25:26 CST