Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to run a progress bar from a dll

Status
Not open for further replies.

asimasm

Programmer
Nov 27, 2000
62
AU
I have an MDI application (MFC App Exe) which is linked with an MFC Extended Dll in which i am exporting some classes to be used by the application.
Now what I want is, the bussiness logic is implemented in the dll and I call that method from the application. Now there is a progress control on the status bar of the application and I need to step up the progress on the progress control as long as the bussiness method is executed, but I dont have the handle of the progress bar in the method of the Dll. Is there any way to get the handle of the window placed on the application in the dll so that if the handle is valid, we can use the functionality of the progress bar.
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top