PDF Viewer DLL?

Moderator: Rathinagiri

User avatar
serge_girard
Posts: 3158
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: PDF Viewer DLL?

Post by serge_girard »

Impressive !

Serge
There's nothing you can do that can't be done...
KDJ
Posts: 243
Joined: Mon Sep 05, 2016 3:04 am
Location: Poland

Re: PDF Viewer DLL?

Post by KDJ »

Edward

Check test versions PdfView_7 and PdfView_8.
Does LeftAlt work?

PdfView_test.zip
(11.69 KiB) Downloaded 261 times
User avatar
serge_girard
Posts: 3158
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: PDF Viewer DLL?

Post by serge_girard »

Page numbering at right bottom is flickering heavily (PdfViewTimer = 100) and viewing hmg-help.pdf shows (very) briefly the index

Serge
There's nothing you can do that can't be done...
User avatar
serge_girard
Posts: 3158
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: PDF Viewer DLL?

Post by serge_girard »

Left-Alt does work (but a bit strange). Great Work !

Serge
There's nothing you can do that can't be done...
KDJ
Posts: 243
Joined: Mon Sep 05, 2016 3:04 am
Location: Poland

Re: PDF Viewer DLL?

Post 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
edk
Posts: 909
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: PDF Viewer DLL?

Post 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.
User avatar
quartz565
Posts: 667
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Contact:

Re: PDF Viewer DLL?

Post 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.
Best Regards,
Nikos.

os: Windows Server 2019 - 64
KDJ
Posts: 243
Joined: Mon Sep 05, 2016 3:04 am
Location: Poland

Re: PDF Viewer DLL?

Post by KDJ »

Thank you very much gentelmen for testing the program.
User avatar
serge_girard
Posts: 3158
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: PDF Viewer DLL?

Post by serge_girard »

You're welcome, Krzysztof !
There's nothing you can do that can't be done...
KDJ
Posts: 243
Joined: Mon Sep 05, 2016 3:04 am
Location: Poland

Re: PDF Viewer DLL?

Post 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 281 times

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

Source code:
PdfView_source.zip
(12.74 KiB) Downloaded 260 times
Post Reply