Page 1 of 2

Print Preview

Posted: Thu Apr 06, 2006 8:43 am
by Colin Haig
To All

I have the latest build of Fivewin but I cant seem to get the
updated Print Preview - I have copied prev32.dll into my application
directory (file dated 12.05.2005 ) - I also have a manifest file also
in that directory but it still is the old print preview.

Regards

Colin

Posted: Thu Apr 06, 2006 9:04 am
by Antonio Linares
Colin,

Please test samples\TestPrn2.prg and let us know how it looks. Thanks.

Print Preview

Posted: Thu Apr 06, 2006 9:17 am
by Colin Haig
Antonio

I tested that program and it is still the old
print preview.

Cheers

Colin

Posted: Thu Apr 06, 2006 9:45 am
by Antonio Linares
Colin,

What do you mean as the "old" one ?

Could you please post a screenshot here ? Place it at www.imageshack.us and copy here the provided link. Thanks.

Print Preview

Posted: Thu Apr 06, 2006 11:05 am
by Colin Haig
Antonio

I have uploaded an image preview.jpg , I hope it worked okay,
the current print preview does not have xp themes or the new
rebar - which it states in the whatsnew.txt

Cheers

Colin

Posted: Thu Apr 06, 2006 11:15 am
by Antonio Linares
Colin,

You have to post here the URL link to review the image.

Print Preview

Posted: Thu Apr 06, 2006 11:50 am
by Colin Haig

Posted: Thu Apr 06, 2006 1:34 pm
by Roger Seiler
Check your app directory to see if you have a copy of Rpreview.prg there. (You might have made some special mods to Rpreview.) If so, it might be an old version that doesn't include the new code to handle XP buttons.

Print Preview

Posted: Thu Apr 06, 2006 2:29 pm
by Colin Haig
Roger

I did not have rpreview.prg in the directory but I copied it from
the fivewin classes directory - (prg dated '01.04.06') and compiled into my app - but still the same - I checked in the rpreview program and
tested - it appears that AppThemed returns false even though I have
a manifest file in the directory.

I use a .res file for my resources should I add the manifest details
in there - if so how.

Cheers

Colin

Re: Print Preview

Posted: Thu Apr 06, 2006 2:51 pm
by ask
You have to include xp manifest . Copy testprn2.rc to <yourprogramname>.rc and use the new prev32.dll .


Regards

A.S.K

Colin Haig wrote:To All

I have the latest build of Fivewin but I cant seem to get the
updated Print Preview - I have copied prev32.dll into my application
directory (file dated 12.05.2005 ) - I also have a manifest file also
in that directory but it still is the old print preview.

Regards

Colin

Print Preview

Posted: Thu Apr 06, 2006 3:00 pm
by Colin Haig
A.S.K.

testprn2.rc does not have anything in it.


Cheers

Colin

Re: Print Preview

Posted: Thu Apr 06, 2006 3:02 pm
by ask
My testprn2.rc :

// Add this to your resources RC file

#ifdef __FLAT__
1 24 "WinXP/WindowsXP.Manifest"
#endif

#ifdef __64__
1 24 "WinXP/WindowsXP.Manifest64"
#endif


Regards
A.S.K

Colin Haig wrote:A.S.K.

testprn2.rc does not have anything in it.


Cheers

Colin

Print Preview

Posted: Thu Apr 06, 2006 3:06 pm
by Colin Haig
A.S.K.

I dont use an .rc but .res how do insert the code into a res file

Colin

Posted: Thu Apr 06, 2006 7:53 pm
by Richard Chidiak
Antonio Linares wrote:Colin,

Please test samples\TestPrn2.prg and let us know how it looks. Thanks.
Antonio :D

Print Preview is much better looking now, is there a chance we can get an email feature with pdf saving from the preview ?

Has anyone succeeded in this from fwh preview direct (without easypreview.. or apdf printer etc ?

Richard

Posted: Fri Apr 07, 2006 10:01 am
by Antonio Linares
Colin,

You may edit your RES file with PellesC IDE:
http://www.smorgasbordet.com/pellesc/