hramenko / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
Other
0 stars 0 forks source link

HtmlViewer should not act on MouseWheel if there is no vertical scrollbar #363

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What do you suggest?
HtmlViewer should not act on MouseWheel if there is no vertical scrollbar.

What are the benefits?
The parent control (e.g. ScrollBox) can get the MouseWheel message and scroll 
the screen.

Which version of the product are you using? Which compiler version are you
using? On which operating system?
Svn revision 474, Delphi 2009, Win7 Pro

Original issue reported on code.google.com by Andreas....@gmail.com on 2 Jul 2014 at 9:39

Attachments:

GoogleCodeExporter commented 9 years ago
Andreas, 

thanks for this suggestion.

r478 implements it.

Instead of checking VScrollBar.Visible which is not automatically always true 
it checks if the document is higher than the viewport.

Original comment by OrphanCat on 22 Jul 2014 at 9:00