How to implement custom painted scrollbar of wxHtmlWindow

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
nikolay.denev
In need of some credit
In need of some credit
Posts: 1
Joined: Wed Jun 20, 2018 7:05 am

How to implement custom painted scrollbar of wxHtmlWindow

Postby nikolay.denev » Wed Jun 20, 2018 7:22 am

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?

PB
Part Of The Furniture
Part Of The Furniture
Posts: 1756
Joined: Sun Jan 03, 2010 5:45 pm

Re: How to implement custom painted scrollbar of wxHtmlWindow

Postby PB » Wed Jun 20, 2018 12:33 pm

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.


Return to “C++ Development”

Who is online

Users browsing this forum: Baidu [Spider] and 25 guests