DrawVertScrollBar method

19 views
Skip to first unread message

Dmitri

unread,
Aug 16, 2014, 4:16:09 AM8/16/14
to virtual-...@googlegroups.com
Hi,
 
Is there a reason to use FVertScrollBarWindow.Height instead of FVertScrollBarRect.Height in TVclStyleScrollBarsHook.DrawVertScrollBar?
As I see TVclStyleScrollBarsHook.DrawHorzScrollBar uses width and height of FHorzScrollBarRect. Looks pretty natural to use width and height of FVertScrollBarRect in TVclStyleScrollBarsHook.DrawVertScrollBar.
 
-Dmitri

Joachim Marder

unread,
Aug 18, 2014, 2:15:57 PM8/18/14
to virtual-...@googlegroups.com
Hi Dmitri.

I'm sorry, I cannot tell you. I do not use VCL styles, and the code concerning styles was provided by Dietmar Rösler, I just committed his changes. Feel free to change this code if it works similar or better than the current one.

I'm in holidays at the Moment, so I cannot review the code at the moment.

Regards, ...

Joachim

--
You received this message because you are subscribed to the Google Groups "Virtual Treeview" group.
To unsubscribe from this group and stop receiving emails from it, send an email to virtual-treevi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages