Home > Software engineering >  MFC in how to make Webbroser finished load data to continue running in the CPP code?
MFC in how to make Webbroser finished load data to continue running in the CPP code?

Time:09-28

I write an interface call now, to get the data generated HTML file, I use regeneration after loading the data into Webbroser controls. The HTML file to the local, generated after the local path back to the others, but is now running after each run returns null Webbroser load data function, so the process has a problem, who can help me solve the!!! Urgent need, thank you!!!!!!
This is my export interface

CodePudding user response:

Baidu search "Webbrowser wait for page load to complete"

CodePudding user response:

reference 1st floor zhao4zhong1 response:
baidu search "Webbrowser wait for page load to complete"

Not ah, this tried

CodePudding user response:

https://www.baidu.com/s? Wd=MFC % 20 webbrowser % 20 waiting for page load to complete

CodePudding user response:

reference zhao4zhong1 reply: 3/f
https://www.baidu.com/s? Wd=MFC % 20 webbrowser % 20 waiting for page load to complete

Determine whether loaded OnDocumentComplete way, but, I this is an export, I inside the dialog after loading the HTM file, the return value is directly above the transcoding, it returns null, within the export function I am not able to finish the HTM file is loaded to judge,,

Now I use a message function for

But the GetMessage thread after the destruction of the dialog, thread is running, how to destroy this thread?

CodePudding user response:

Libcurl or change?
  • Related