Page 1 of 1

Photo printing wizard

PostPosted: Fri Mar 18, 2016 6:20 am
by Natter
How you can call the standard dialog of "Photo printing Wizard" ?

Re: Photo printing wizard

PostPosted: Fri Mar 18, 2016 1:33 pm
by RAMESHBABU
Hi Natter,

This is what you may be lookingfor:

Code: Select all  Expand view
#include "fivewin.ch"

FUNCTION Main()

LOCAL oCommDlg, oFiles

oCommDlg := FWGetOleObject( "WIA.CommonDialog" )
oFiles   := FWGetOleObject( "WIA.Vector")

oFiles:Add("c:\fwh\bitmaps\007.bmp")
oFiles:Add("c:\fwh\bitmaps\dbglogo.bmp")

oCommDlg:ShowPhotoPrintingWizard(oFiles)

RETURN nil
 


Image

-Ramesh Babu

Re: Photo printing wizard

PostPosted: Fri Mar 18, 2016 1:41 pm
by cnavarro
Perfect, thanks

Re: Photo printing wizard

PostPosted: Fri Mar 18, 2016 1:43 pm
by dagiayunus
#include "fivewin.ch"
function main()
ShellExecute(0,"Print", "c:\fwh\samples\rosa1.jpg",,1)
return nil

Re: Photo printing wizard

PostPosted: Fri Mar 18, 2016 3:47 pm
by Natter
Thank you Mr. Rameshbabu ! Perfect