Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CHtmlView Progress Bar?

Posted on 2003-10-29
2
Medium Priority
?
590 Views
Last Modified: 2013-11-20
Hello,

I have a CHtmlView in a MyBrowser app.  I have added a status bar but I want to add a progress bar to one of the panes.  Does anyone have an example of how to track the browser status so I can display and update the progress bar like in IE?

I am in need of doing this as soon as possible.  Any help would be greatly appreciated.

Thanks,
Tony
0
Comment
Question by:LilMoke
  • 2
2 Comments
 
LVL 48

Expert Comment

by:AlexFM
ID: 9643329
CHtmlView::OnProgressChange looks like a function that you need.

To show progress in status bar use this sample:

http://www.codeproject.com/miscctrl/progressbar.asp
0
 
LVL 48

Accepted Solution

by:
AlexFM earned 2000 total points
ID: 9643389
You can start progress indication in CHtmlView::OnDownloadBegin and stop it in CHtmlView::OnDownloadComplete.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Loops Section Overview
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question