Width and height of scrollbars  SOLVED

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
pHol
User
Posts: 30
Joined: Mon May 08, 2017 9:47 am

Width and height of scrollbars

Post by pHol »

Hi!

I want to find the width and height of the scrollbars in the (from fulldemo) pdfCtl that is shown when a page does not fit the area.
Is this possible and how should I do it. I can't find a solution here in the forum or in the documentation.

In the attached file there is a red square and I want this square to be inside the scrollbars, and that is why I want to know their width and height so that I can subtract that from the size of the square.


Please help

Cheers,
Philip
Attachments
square.PNG
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Width and height of scrollbars  SOLVED

Post by Sasha - Tracker Dev Team »

Hello Phillip,

Have you searched the sdkhelp wiki?
Because I found this one:
IUIX_Inst::GetScrollBarSize

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
pHol
User
Posts: 30
Joined: Mon May 08, 2017 9:47 am

Re: Width and height of scrollbars

Post by pHol »

I thought I did, but I must have misspelled or something, because I did not find that one.

Thanks =)
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Width and height of scrollbars

Post by Sasha - Tracker Dev Team »

As a tip - use this box for search - much easier:
Capture22.PNG
Capture22.PNG (6 KiB) Viewed 1759 times
:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
pHol
User
Posts: 30
Joined: Mon May 08, 2017 9:47 am

Re: Width and height of scrollbars

Post by pHol »

Great! I will remember that!

Thanks again =)
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Width and height of scrollbars

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply