Using API2 controls.
If the page content doesn’t fit in an HTMLViewer, and scrollbars appear, then one may scroll the content with the mousewheel. However, if I have a number of HTMLViewers, arranged inside a container, with each viewer sized to contain the content, then no viewer has scrollbars and although the container itself has a scrollbar, one can only scroll the container’s content (with the mousewheel) when the mousewheel is over the scrollbar. The reason is that the HTMLViewer doesn’t have a MouseWheel event; scrolling the wheel over the viewer is “eaten up” by the viewer, which acts upon it, but doesn’t propagate the event.
The suggestion was put to me that one may overlay the container with a canvas, and that will support the mousewheel event, which can then be used to scroll the container. This works fine for macOS and Linux, but not for Windows because the canvas is not transparent (unless that’s a limitation of the VirtualBox VM I am using). Making the canvas invisible prevents the MouseWheel event from firing.
Is there a way round this?