PDF Viewer DLL?

Moderator: Rathinagiri

User avatar
serge_girard
Posts: 1784
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 241 times
Been thanked: 56 times
Contact:

Re: PDF Viewer DLL?

Post by serge_girard » Sat Apr 01, 2017 7:28 am

Impressive !

Serge

KDJ
Posts: 159
Joined: Mon Sep 05, 2016 3:04 am
Location: Poland
Been thanked: 140 times

Post by KDJ » Sat Apr 01, 2017 2:24 pm

Edward

Check test versions PdfView_7 and PdfView_8.
Does LeftAlt work?

PdfView_test.zip
(11.69 KiB) Downloaded 37 times

User avatar
serge_girard
Posts: 1784
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 241 times
Been thanked: 56 times
Contact:

Post by serge_girard » 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

Serge

User avatar
serge_girard
Posts: 1784
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 241 times
Been thanked: 56 times
Contact:

Post by serge_girard » Sat Apr 01, 2017 4:15 pm

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

Serge

KDJ
Posts: 159
Joined: Mon Sep 05, 2016 3:04 am
Location: Poland
Been thanked: 140 times

Post by KDJ » Sat Apr 01, 2017 5:00 pm

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: 125
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland
Has thanked: 35 times
Been thanked: 65 times

Post by edk » 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.

User avatar
quartz565
Posts: 438
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Has thanked: 96 times
Been thanked: 11 times
Contact:

Post by quartz565 » Sat Apr 01, 2017 9:08 pm

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 2012 - 64
hw: HP Server E5606, 2.13GHz, 8.00 GB - Intel Xeon CPU

KDJ
Posts: 159
Joined: Mon Sep 05, 2016 3:04 am
Location: Poland
Been thanked: 140 times

Post by KDJ » Sun Apr 02, 2017 3:40 pm

Thank you very much gentelmen for testing the program.

User avatar
serge_girard
Posts: 1784
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 241 times
Been thanked: 56 times
Contact:

Post by serge_girard » Sun Apr 02, 2017 4:05 pm

You're welcome, Krzysztof !

KDJ
Posts: 159
Joined: Mon Sep 05, 2016 3:04 am
Location: Poland
Been thanked: 140 times

Post by KDJ » Thu Apr 20, 2017 8:39 pm

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 37 times

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

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

Post Reply