How to implement custom painted scrollbar of wxHtmlWindow
-
- In need of some credit
- Posts: 1
- Joined: Wed Jun 20, 2018 7:05 am
How to implement custom painted scrollbar of wxHtmlWindow
Hi, I'm trying to make a scrollable window that displays in it's client aria a rich content(HTML) and has a custom painted scrollbars. Any ideas?
Re: How to implement custom painted scrollbar of wxHtmlWindow
A believe nothing has changed since the question was asked last time, i.e., you are on your own and need to use platform-specific code.
However, you may consider using wxWebView (embedded web browser) instead of somewhat limited (HTML-wise) wxHtmlWindow. Still, it seems that scrollbar customization is not as popular as it used to be in the previous decade and these days only webkit based browsers support it via CSS. On the other hand, it may be possible to use a javascript library which provides a customi scrollbar.
However, you may consider using wxWebView (embedded web browser) instead of somewhat limited (HTML-wise) wxHtmlWindow. Still, it seems that scrollbar customization is not as popular as it used to be in the previous decade and these days only webkit based browsers support it via CSS. On the other hand, it may be possible to use a javascript library which provides a customi scrollbar.