<< Click to Display Table of Contents >> Navigation: Tasks > Change GUI > Create a toolbar |
You can start all functions using the command method.
The following IDs can be used
A) Show dialogs:
COMPDF_DocumentProperties (=1) - display the window with PDF property
COMPDF_ShowAbout (=6) - display the WPViewPDF Info window
COMPDF_PrinterSetup (=30) - display the printer setup.
COMPDF_PrintDialog (=32) - display the print dialog. The user may change the printer.
B) Goto certain positions in the PDF
COMPDF_GotoFirst = 20............. Goto first page
COMPDF_GotoPrev = 21............. Goto Previous page
COMPDF_GotoPage = 22............. Goto Page Nr in int parameter.
the optional string parameter can be "y" or "x,y" or "x,y%z" to specify the zoom value z
COMPDF_GotoNext = 23............. Goto next page
COMPDF_GotoLast = 24............. Goto last page. Pass 1 as parameter to go to end of page.
COMPDF_ShowGotoPage = 25............. Show page nr editfield (RESERVED)
COMPDF_ShowGotoBookmark = 26............. Show bookmark edit (RESERVED)
COMPDF_GotoYPos = 27............. Goto 'B' as y in 72 dpi (also see GetYpos!)
COMPDF_GotoXPos = 28............. Goto 'B' as x in 72 dpi
COMPDF_ScrollXY = 29............. Bit 1: Horz, Bit 2: Large, Bit 3=Next