Click here to Skip to main content
15,918,193 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: mechanism for the a dll to send back periodic info? Pin
ns20-Sep-02 1:32
ns20-Sep-02 1:32 
AnswerRe: mechanism for the a dll to send back periodic info? Pin
Paul M Watt19-Sep-02 19:31
mentorPaul M Watt19-Sep-02 19:31 
GeneralGUI with Visual C Pin
E. Bonizzoni19-Sep-02 12:03
E. Bonizzoni19-Sep-02 12:03 
GeneralRe: GUI with Visual C Pin
Christian Graus19-Sep-02 13:11
protectorChristian Graus19-Sep-02 13:11 
GeneralRe: GUI with Visual C Pin
Paul M Watt19-Sep-02 19:39
mentorPaul M Watt19-Sep-02 19:39 
GeneralChanging the mask color for the IDR_MAINFRAME icon Pin
monrobot1319-Sep-02 11:14
monrobot1319-Sep-02 11:14 
GeneralRe: Changing the mask color for the IDR_MAINFRAME icon Pin
Shog919-Sep-02 14:24
sitebuilderShog919-Sep-02 14:24 
GeneralProgressbar question Pin
ns19-Sep-02 11:09
ns19-Sep-02 11:09 
I have a progressbar in a statusbar. When a database is being generated in the app, it takes a long time. I see that to make it step along, we do something like:

	for (int i = 0; i < 5000; i++) {
		bar.StepIt();
}


But I need to figure out how to make the progress bar reflect the database creation progress. What indicates that the database is finished being created? How to convert that info into the counter variable that makes it step along?

ANother question:

In the following
bSuccess = CProgressCtrl::Create(dwStyle, PaneRect, pStatusBar, 1);
the nID is set to 1. Is this okay? Or should I put a made up ID like "ID_PROGRESS" in the string table? I dont know if its safe to set the nID = 1.

Thanks for the help,
ns

Thanks,
ns
GeneralRe: Progressbar question Pin
Carlos Antollini19-Sep-02 11:13
Carlos Antollini19-Sep-02 11:13 
GeneralRe: Progressbar question Pin
ns19-Sep-02 11:15
ns19-Sep-02 11:15 
GeneralRe: Progressbar question Pin
Carlos Antollini19-Sep-02 11:23
Carlos Antollini19-Sep-02 11:23 
GeneralRe: Progressbar question Pin
ns19-Sep-02 11:43
ns19-Sep-02 11:43 
Generalmodal dialog Pin
Gary Kirkham19-Sep-02 11:06
Gary Kirkham19-Sep-02 11:06 
GeneralRe: modal dialog Pin
Carlos Antollini19-Sep-02 11:16
Carlos Antollini19-Sep-02 11:16 
GeneralRe: modal dialog Pin
Gary Kirkham19-Sep-02 11:32
Gary Kirkham19-Sep-02 11:32 
GeneralRe: modal dialog Pin
Carlos Antollini19-Sep-02 11:53
Carlos Antollini19-Sep-02 11:53 
GeneralRe: modal dialog Pin
Rein Hillmann19-Sep-02 12:01
Rein Hillmann19-Sep-02 12:01 
GeneralRe: modal dialog Pin
Brian Delahunty19-Sep-02 11:20
Brian Delahunty19-Sep-02 11:20 
GeneralRe: modal dialog Pin
Gary Kirkham19-Sep-02 11:32
Gary Kirkham19-Sep-02 11:32 
GeneralRe: modal dialog Pin
Gary Kirkham19-Sep-02 12:40
Gary Kirkham19-Sep-02 12:40 
QuestionHow to Resize MSChart Pin
ssirisha19-Sep-02 11:03
ssirisha19-Sep-02 11:03 
AnswerRe: How to Resize MSChart Pin
Carlos Antollini19-Sep-02 11:24
Carlos Antollini19-Sep-02 11:24 
GeneralGetLongPathName prob under XP Pin
yarp19-Sep-02 10:56
yarp19-Sep-02 10:56 
GeneralRe: GetLongPathName prob under XP Pin
Neville Franks19-Sep-02 11:18
Neville Franks19-Sep-02 11:18 
GeneralRe: GetLongPathName prob under XP Pin
yarp20-Sep-02 10:15
yarp20-Sep-02 10:15 

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.