Click here to Skip to main content
15,881,898 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Split string into substrings Pin
Stuart Dootson18-Apr-09 5:14
professionalStuart Dootson18-Apr-09 5:14 
QuestionHow do I develop an internet video conferencing system like skype? Pin
Hiigara17-Apr-09 11:16
Hiigara17-Apr-09 11:16 
AnswerRe: How do I develop an internet video conferencing system like skype? Pin
Divyang Mithaiwala17-Apr-09 19:40
Divyang Mithaiwala17-Apr-09 19:40 
AnswerRe: How do I develop an internet video conferencing system like skype? Pin
zhanzongru19-Apr-09 1:20
zhanzongru19-Apr-09 1:20 
QuestionDLL Processing Speed, Pin
ScotDolan17-Apr-09 8:55
ScotDolan17-Apr-09 8:55 
AnswerRe: DLL Processing Speed, Pin
Stuart Dootson17-Apr-09 9:04
professionalStuart Dootson17-Apr-09 9:04 
AnswerRe: DLL Processing Speed, Pin
Luc Pattyn17-Apr-09 11:26
sitebuilderLuc Pattyn17-Apr-09 11:26 
QuestionDo loop while waiting for a component event Pin
digitalni17-Apr-09 8:22
digitalni17-Apr-09 8:22 
Hello everyone. I come from a Delphi background to VC++ 2008. I have searched the board and articles for my "problem" but to no avail. I hope someone out there can help me with this even tho it may sound like a very dumb question. The entire problem could probably be resolved with a different approach but this is what I have so far so feel free to modify/suggest whatever you feel may help.

1. after a button is clicked, a do ... while loop is started
2. in the middle of the loop, webBrowser is "told" to do a webBrowser->Navigate
3. an url keeping variable is updated by incrementing one of the integers needed to get the right url
4. integer variable is incremented
5. loop keeps going up and webBrowser navigates again (this time to a different address) until the integer variable = user specified number

This loop can, based on user input, be executed 10+ times or so, basically telling the webbrowser to navigate to 10 different urls.

The problem is - the loop will prevent the webbrowser to fully finish loading the site and at the end it manages to navigate to 1 url only.

I understand that I need to use the DocumentCompleted event on the webBrowser.

The question is: how do I combine the loop with the event?
Is there backgroundworker or some other component I should use?

I hope I provided enough info for the answer. Feel free to ask for more details/code if needed.
AnswerRe: Do loop while waiting for a component event Pin
Stuart Dootson17-Apr-09 8:48
professionalStuart Dootson17-Apr-09 8:48 
GeneralRe: Do loop while waiting for a component event Pin
digitalni17-Apr-09 9:20
digitalni17-Apr-09 9:20 
GeneralRe: Do loop while waiting for a component event Pin
Stuart Dootson17-Apr-09 9:35
professionalStuart Dootson17-Apr-09 9:35 
QuestionBaes/Derived Class Question Pin
ForNow17-Apr-09 7:04
ForNow17-Apr-09 7:04 
AnswerRe: Baes/Derived Class Question Pin
CPallini17-Apr-09 7:11
mveCPallini17-Apr-09 7:11 
AnswerRe: Baes/Derived Class Question Pin
led mike17-Apr-09 7:21
led mike17-Apr-09 7:21 
GeneralRe: Baes/Derived Class Question Pin
ForNow17-Apr-09 12:32
ForNow17-Apr-09 12:32 
GeneralRe: Baes/Derived Class Question Pin
ForNow18-Apr-09 15:38
ForNow18-Apr-09 15:38 
QuestionCreating Global Objects Pin
ForNow17-Apr-09 6:58
ForNow17-Apr-09 6:58 
AnswerRe: Creating Global Objects Pin
CPallini17-Apr-09 7:07
mveCPallini17-Apr-09 7:07 
GeneralRe: Creating Global Objects Pin
ForNow17-Apr-09 12:28
ForNow17-Apr-09 12:28 
AnswerRe: Creating Global Objects Pin
led mike17-Apr-09 7:19
led mike17-Apr-09 7:19 
GeneralRe: Creating Global Objects Pin
ForNow18-Apr-09 15:42
ForNow18-Apr-09 15:42 
AnswerRe: Creating Global Objects Pin
Stuart Dootson17-Apr-09 9:01
professionalStuart Dootson17-Apr-09 9:01 
GeneralRe: Creating Global Objects Pin
CPallini17-Apr-09 9:12
mveCPallini17-Apr-09 9:12 
QuestionV-tables Pin
0x3c017-Apr-09 4:49
0x3c017-Apr-09 4:49 
AnswerRe: V-tables Pin
led mike17-Apr-09 5:49
led mike17-Apr-09 5:49 

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.