Click here to Skip to main content
15,910,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Challenge: How do you determine the physical dimensions of your pixels/monitor? Pin
Tomasz Sowinski8-Nov-01 23:03
Tomasz Sowinski8-Nov-01 23:03 
AnswerRe: Challenge: How do you determine the physical dimensions of your pixels/monitor? Pin
#realJSOP7-Nov-01 1:19
professional#realJSOP7-Nov-01 1:19 
AnswerRe: Challenge: How do you determine the physical dimensions of your pixels/monitor? Pin
#realJSOP7-Nov-01 1:29
professional#realJSOP7-Nov-01 1:29 
GeneralRe: Challenge: How do you determine the physical dimensions of your pixels/monitor? #TS Pin
Tommy H D Svensson12-Nov-01 23:11
Tommy H D Svensson12-Nov-01 23:11 
GeneralSending keystrokes to another window Pin
7-Nov-01 0:54
suss7-Nov-01 0:54 
GeneralRe: Sending keystrokes to another window Pin
Mukkie7-Nov-01 8:15
Mukkie7-Nov-01 8:15 
GeneralRe: Sending keystrokes to another window Pin
19-Nov-01 20:21
suss19-Nov-01 20:21 
GeneralWebBrowser.GetBusy() method Pin
Cbanwell7-Nov-01 0:00
Cbanwell7-Nov-01 0:00 
Hi,

I have a connection to an active Internet explorer window, where I call the Navigate2 method to download a http page. After calling this navigate method I would like to stop the current thread processing and wait for the web browser to completely download the page.

I currently have the following code,

m_webBrowser.Navigate2(URL);

while(m_webBrowser.GetBusy())
{
DWORD res = WaitForSingleObjectEx(m_webBrowser.GetBrowserWnd (),20000,TRUE);
}

but the method GetBusy() of web browser returns false after only a couple of milliseconds, but I know full well that the page is not yet downloaded. Also the function WaitForSingleObjectEx returns in a complete state.

What I woul ideally like to do is stop within this while loop and wait until the web browser has completely loaded the page, where I can then call the GetHtmlDocument method.

Any ideas
ThanksOMG | :OMG:

CAB
GeneralRe: WebBrowser.GetBusy() method Pin
Alvaro Mendez7-Nov-01 10:53
Alvaro Mendez7-Nov-01 10:53 
GeneralSOCKS5 Client Pin
James Spibey6-Nov-01 23:50
James Spibey6-Nov-01 23:50 
GeneralDelete a file on startup Pin
Peter Liddle6-Nov-01 23:05
Peter Liddle6-Nov-01 23:05 
GeneralRe: Delete a file on startup Pin
Michael Dunn6-Nov-01 23:13
sitebuilderMichael Dunn6-Nov-01 23:13 
Generalpositionning a MessageBox Pin
ZAZA6-Nov-01 22:15
ZAZA6-Nov-01 22:15 
GeneralRe: positionning a MessageBox Pin
Tomasz Sowinski7-Nov-01 0:51
Tomasz Sowinski7-Nov-01 0:51 
GeneralRe: positionning a MessageBox Pin
Nish Nishant7-Nov-01 0:54
sitebuilderNish Nishant7-Nov-01 0:54 
GeneralRe: positionning a MessageBox Pin
Nish Nishant7-Nov-01 0:52
sitebuilderNish Nishant7-Nov-01 0:52 
QuestionHot to get a flat frame? Pin
alton6-Nov-01 21:59
alton6-Nov-01 21:59 
GeneralSecurity challange Pin
6-Nov-01 21:39
suss6-Nov-01 21:39 
GeneralMSDN question Pin
The_Server6-Nov-01 21:03
The_Server6-Nov-01 21:03 
GeneralRe: MSDN question Pin
Steen Krogsgaard6-Nov-01 22:04
Steen Krogsgaard6-Nov-01 22:04 
GeneralRe: MSDN question Pin
Jon Hulatt6-Nov-01 22:05
Jon Hulatt6-Nov-01 22:05 
GeneralRe: MSDN question Pin
Michael P Butler6-Nov-01 22:06
Michael P Butler6-Nov-01 22:06 
Question- What means "GNU"? Pin
Maer7276-Nov-01 19:08
Maer7276-Nov-01 19:08 
AnswerRe: - What means "GNU"? Pin
Michael Dunn6-Nov-01 19:41
sitebuilderMichael Dunn6-Nov-01 19:41 
GeneralRe: - What means "GNU"? Pin
Maer7277-Nov-01 17:35
Maer7277-Nov-01 17:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.