Can I debug a webpage on an MFC WebBrowser Control - c++

I have a desktop application built in C++ that at one point opens a website in an MFC WebBrowser Control. I built this website myself and it looks perfect on standalone IE11 but when it loads on the WebBrowser Control there are some issues with a font not loading. This font provides some icons for the site.
I'm using the META tag to force IE to render in IE11 and that's working fine. I just don't know why this font isn't loading on the WebBrowser Control.
How can I debug this? The dev tools don't work here so I don't see a way to confirm the font is loading in the first place. Can the WebBrowser Control be configured to allow DevTools? I read the documentation but I didn't find any mentions of that.
Any ideas? Thanks.

Related

Opening a page when clicking on an Android notification using MAUI and Shiny.Notifications

I have a .NET MAUI app that tests notifications using Shiny.Notifications and the Community.Toolkit.Mvvm.
I know that the MAUI version is in Alpha but I am desperate.
I have the notification appearing and when I click on it the app opens. I want to be able to open at a specific page. Can someone point me in the right direction?
I have tried to find a way within the Shiny Library to set up an Action that would open a page but with no luck. I have also looked at the Xamarin sample and have the same issue with it

Is there any option to use other browser on MFC windows application

Hi I am developing MFC windows application,in that i call webpage using webBrowser control,Actually in web page we use lot of script based on CSS3, My agent run the application on windows xp system, if open in webBrowser control by default call Microsoft IE browser8. so it block the script. so i need to use chrome in webBrowser control.
So how to change ?
Note:Need to open inside windows application,not open outside browser.

Make CHtmlView enables activex control download

I'm a newbie to CHtmlView of Visual C++ programming. I need to make a web-browser application display website by IHTMLDocument2 interface which will need to download activex control from website and run it automatically. Here is the problem, the application which I have made is running well except the activex control on the website is not running. I have checked the interface of IHTMLDocument2 and also have override OnAmbientProperty to setup the flag to zero when dispid value is equals to DISPID_AMBIENT_DLCONTROL, but it still not load activex control on the website which are browsing by using My own web-browser app.
Can anyone tell me which document should I looking for? I'm so confusing about how to setup the security level on my own web-browser application to enable activex.
Thank you very much!
Making it work with MFC might be a bit tedious task. You would need to create a custom implementation of COleControlSite and COccManager for your CHtmlView. On the COleControlSite object, you'd need to implement IServiceProvider and IInternetSecurityManager. With IInternetSecurityManager::ProcessUrlAction you'd control how ActiveX controls are handled.
Here you can find some implementations of the above:
http://www.codeproject.com/Articles/4805/Advanced-customization-of-WebBrowser-Control-in-Di
http://www.codeproject.com/Articles/924/DHTML-User-Interface-Library
http://shareaza-code.googlecode.com/svn/trunk/CtrlWeb.cpp

Using GDI+ vs HTML page

I am working on an application which is UI intensive (i.e. we need to customize all the control to look different).
For this is I planned to use GDI+ in win32. But one of the suggestion form our team member is,
Instead of using GDI+ he asked me to have a web browser control, in that he asked me to display local html.That html page contains customized controls.
Form his suggestion I created a web control and used some UI intensive local html pages. That looks good.
But my question is, is it is a good idea to use web control to solve this?
Using a web browser control to solve this problem is common. There are many applications out there that already do this. For example Steam uses Chromium instead of the web browser control to do all its window skinning. Windows 8 metro is another example of an HTML-based interface. There are even entire frameworks built on html-based interfaces such as Appcelerator. There are many benefits to going the web browser control route but it is not easy to get it right.

How to show web page

I wanna show web page in my program. I using Dev-C++ and I'm new. How I can do this?
Best regards
You can use wxWebConnect component, it's a Web Browser Control library for wxWidgets that enables developers to quickly integrate advanced Web browser capabilities into their own applications.
Qt library provides an integrated Web browser component based on WebKit.
Here you can find good tutorial for beginners.
Write your own HTML parser and layout engine with a fully OpenGL-compatible rendering pipeline. :-)
Internet Explorer Trident Window (aka WebBrowser Control).
http://msdn.microsoft.com/en-us/library/aa752040%28v=VS.85%29.aspx