Share via

CDHtmlDialog for Microsoft Edge

To Ngoc Lan 1 Reputation point
2022-05-11T02:09:22.8+00:00

Hi all
I need a support for CDHtmlDialog
As my bug and what I read about this class in: https://learn.microsoft.com/en-us/cpp/mfc/reference/cdhtmldialog-class?view=msvc-170
This class support open Htm file default in IE but I want to open it in Edge
Is there any way to fix this?

Microsoft Edge | Microsoft Edge development
0 comments No comments

1 answer

Sort by: Most helpful
  1. Castorix31 91,876 Reputation points
    2022-05-11T06:45:07.31+00:00

    CDHtmlDialog uses WebBrowser control, not Edge

    For Edge, you must use the WebView2 control

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.