Print Preview

Colin Haig
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Print Preview

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Colin,

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

Antonio Linares
www.fivetechsoft.com
Colin Haig
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Print Preview

Post by Colin Haig »

Antonio

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

Cheers

Colin
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Colin Haig
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Print Preview

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Colin,

You have to post here the URL link to review the image.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Colin Haig
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Print Preview

Post by Colin Haig »

User avatar
Roger Seiler
Posts: 223
Joined: Thu Dec 01, 2005 3:34 pm
Location: Nyack, New York, USA
Contact:

Post 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.
Colin Haig
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Print Preview

Post 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
ask
Posts: 99
Joined: Wed Nov 02, 2005 10:40 am

Re: Print Preview

Post 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
Colin Haig
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Print Preview

Post by Colin Haig »

A.S.K.

testprn2.rc does not have anything in it.


Cheers

Colin
ask
Posts: 99
Joined: Wed Nov 02, 2005 10:40 am

Re: Print Preview

Post 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
Colin Haig
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Print Preview

Post by Colin Haig »

A.S.K.

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

Colin
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post 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
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Colin,

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

Antonio Linares
www.fivetechsoft.com
Post Reply