Page 9 of 17

Re: PDF Viewer DLL?

Posted: Sat Apr 01, 2017 7:28 am
by serge_girard
Impressive !

Serge

Re: PDF Viewer DLL?

Posted: Sat Apr 01, 2017 2:24 pm
by KDJ
Edward

Check test versions PdfView_7 and PdfView_8.
Does LeftAlt work?

PdfView_test.zip
(11.69 KiB) Downloaded 268 times

Re: PDF Viewer DLL?

Posted: Sat Apr 01, 2017 4:08 pm
by serge_girard
Page numbering at right bottom is flickering heavily (PdfViewTimer = 100) and viewing hmg-help.pdf shows (very) briefly the index

Serge

Re: PDF Viewer DLL?

Posted: Sat Apr 01, 2017 4:15 pm
by serge_girard
Left-Alt does work (but a bit strange). Great Work !

Serge

Re: PDF Viewer DLL?

Posted: Sat Apr 01, 2017 5:00 pm
by KDJ
Serge

Needed is a test on Windows-10, when focus is set in Sumatra panel.

serge_girard wrote: Sat Apr 01, 2017 4:08 pm Page numbering at right bottom is flickering heavily (PdfViewTimer = 100) and viewing hmg-help.pdf shows (very) briefly the index
Replace SetStatusPage() function with following code:

Code: Select all

FUNCTION SetStatusPage()
  STATIC nPage   := 0
  STATIC nCount  := 0
  LOCAL  nPage1  := Sumatra_PageNumber(cPanel)
  LOCAL  nCount1 := Sumatra_PageCount(cPanel)

  IF (nPage != nPage1) .or. (nCount != nCount1)
    nPage  := nPage1
    nCount := nCount1

    PdfView.STATUSBAR.Item(2) := If(nCount == 0, "", "Page: " + HB_NtoS(nPage) + '/' + HB_NtoS(nCount))
  ENDIF

RETURN NIL

Re: PDF Viewer DLL?

Posted: Sat Apr 01, 2017 8:19 pm
by edk
KDJ wrote: Sat Apr 01, 2017 2:24 pm Edward

Check test versions PdfView_7 and PdfView_8.
Does LeftAlt work?

PdfView_test.zip
Krzysztof, alone LeftAlt work on focused Sumatra Panel, also first LeftAlt then "P" key, but not work LeftAlt-P pressed together (I can hear system sound).
Now LeftAlt key works just like F10.
The same symptoms on both versions: 7 and 8

As for me is Ok. Generally, I meant that the program did not hang up after accidentally pressing LeftAlt and/or F10.

Edward.

Re: PDF Viewer DLL?

Posted: Sat Apr 01, 2017 9:08 pm
by quartz565
edk wrote: Sat Apr 01, 2017 8:19 pm
KDJ wrote: Sat Apr 01, 2017 2:24 pm Edward

Check test versions PdfView_7 and PdfView_8.
Does LeftAlt work?

PdfView_test.zip
Krzysztof, alone LeftAlt work on focused Sumatra Panel, also first LeftAlt then "P" key, but not work LeftAlt-P pressed together (I can hear system sound).
Now LeftAlt key works just like F10.
The same symptoms on both versions: 7 and 8

As for me is Ok. Generally, I meant that the program did not hang up after accidentally pressing LeftAlt and/or F10.

Edward.
Same in windows 10 64 bit .
When the grid is focused all the keys and combinations works perfectly.

Re: PDF Viewer DLL?

Posted: Sun Apr 02, 2017 3:40 pm
by KDJ
Thank you very much gentelmen for testing the program.

Re: PDF Viewer DLL?

Posted: Sun Apr 02, 2017 4:05 pm
by serge_girard
You're welcome, Krzysztof !

Re: PDF Viewer DLL?

Posted: Thu Apr 20, 2017 8:39 pm
by KDJ
New version of PdfView for HMG 3.4.4.
It doesn't work with earlier HMG versions.

PdfView.exe 32-bit:
PdfView_exe_32bit.zip
(1.47 MiB) Downloaded 284 times

SumatraPDF as library 32-bit:
SumatraPDF_lib_32bit.zip
(4.43 KiB) Downloaded 259 times

Source code:
PdfView_source.zip
(12.74 KiB) Downloaded 264 times