Hello,
Is there a wx alternative of CDHtmlDialog MFC? https://learn.microsoft.com/en-us/cpp/m ... w=msvc-170
To use HTML as UI. wxHtmlWindow and wxWebView don't provide access to particular UI elements and events (HTML buttons, checkboxes, etc...).
HTML UI dialog, similar to MFC? Topic is solved
-
- Earned some good credits
- Posts: 104
- Joined: Thu Apr 02, 2009 8:11 pm
- Location: Tbilisi, Georgia
HTML UI dialog, similar to MFC?
Last edited by zura on Tue Feb 07, 2023 8:08 pm, edited 2 times in total.
-
- Earned some good credits
- Posts: 104
- Joined: Thu Apr 02, 2009 8:11 pm
- Location: Tbilisi, Georgia
Re: HTML UI dialog, similar to MFC?
Interestingly, wxPython's HtmlWindow can mix HTML with Python code (wxdemo > HtmlWindow > With Widgets).
Re: HTML UI dialog, similar to MFC?
Yes, but wxHtmlWindow is so limited in its HTML support, it's easier to build the GUI "the usual way".
https://docs.wxwidgets.org/trunk/overvi ... ptags_list
<wxdir>/samples/html/widgets/widget.cpp shows how to do it.
Use the source, Luke!
-
- Earned some good credits
- Posts: 104
- Joined: Thu Apr 02, 2009 8:11 pm
- Location: Tbilisi, Georgia
Re: HTML UI dialog, similar to MFC?
Oh, I see. It actually inserts a wx control in the document... And no advanced styling whatsoever.
Thanks for the clarification!
Thanks for the clarification!