question

ChuckieAJ-0973 avatar image
0 Votes"
ChuckieAJ-0973 asked XuDongPeng-MSFT commented

CHtmlView and Windows 11 (MFC Application)

Hi !
Firstly, I am aware of the WebView2 control and have tried it. Right now it is lacking some important functionality so I must stick with the CHtmlView control.
I had a change in the Installation and Upgrades section of the Microsoft Forums and they confirmed the following:

  1. Internet Explorer remains on a PC if you upgrade to Windows 11 (confirmed as I upgraded from Windows 10).

  2. Internet Explorer will not be on the PC if you perform a clean install of Windows 11.

  3. CHtmlView will continue to work no matter.

CHtmlView is a wrapper for the web browser control and you can programatically display a Page Setup dialog. Fine - still works.

But prior to scenario 2 above, a user could also manually invoke IE and adjust the page setup through there - and do other things like purge cache. So, if IE is not present, does this mean that whilst they can access Page Setup through my software - what about doing it manually, like they used to be able to do?

For example, what if I tell them the cache needs purging - how would they do it?

I am just thinking ahead - thats all.

In time I will use WebView2 when it supports all the features I need.

windows-11ms-edge
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Reza-Ameri avatar image
0 Votes"
Reza-Ameri answered

If this is feature in the Internet Explorer, I would recommend you consider using new standard supported in the Microsoft Edge.
In the Microsoft Edge, you have the Internet Explorer mode where you may run websites in the Internet Explorer mode.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello ChuckieAJ,

This is actual an open investigation for the Microsoft Developer Community under the next topic:

https://developercommunity.visualstudio.com/t/how-long-will-chtmlview-of-mfc-be-supported/1428902

I would recommend to join that conversation and provide your own experience and tests, as it will greatly influence the relevance of the topic.



--If the reply is helpful, please Upvote and Accept as answer--

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

XuDongPeng-MSFT avatar image
0 Votes"
XuDongPeng-MSFT answered XuDongPeng-MSFT commented

Hi @ChuckieAJ-0973 ,

According to your description, I think what you mentioned is that you need to make some settings in Internet Options. If this is the case, you can open it through the control panel, or directly search for Internet Options in windows. You can do the same thing in this way, such as clearing the browser cache as mentioned.

It can work even when IE11 is disabled in Windows feature, but it will not contain settings related to IE11 in this case.

Best regards,
Xudong Peng


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ChuckieAJ-0973 , May I know if you have got any chance to check my answer? I am glad to help if you have any other questions.

0 Votes 0 ·