Thread: MFC progress dialog...need help

  1. #1
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001

    MFC progress dialog...need help

    Ok, I've just inserted the progress dialog component into my app, I used MFC (please no comments), so the code is set up for me...but one question...how do I use the thing?
    I wish to use it during the time that a function is running, I send the shell some commands and wish to know their progress.
    thanks.
    PHP and XML
    Let's talk about SAX

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Depending on what the function does, you send a message to the dialog to update the progress bar.

    For example, let say there is a for loop in the function, then you would send a message to the dialog box between one or more iterations.

    Kuphryn

  3. #3
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    cool
    now i have to figure out how to get the darn thing to run
    I've tried to use all the different functions in it's class, but on compile it pretty much says that the ID of the dialog doesn't exist, even though it's #defined in the header...oh well
    PHP and XML
    Let's talk about SAX

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 04-27-2004, 08:02 PM
  2. Document Class and Dialog Windows :: MFC
    By kuphryn in forum Windows Programming
    Replies: 3
    Last Post: 12-01-2002, 12:27 AM
  3. Dialog Box & Property Sheet :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 08-01-2002, 01:33 PM
  4. WIndows programming?
    By hostensteffa in forum Windows Programming
    Replies: 7
    Last Post: 06-07-2002, 08:52 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM