MFC progress dialog...need help

This is a discussion on MFC progress dialog...need help within the Windows Programming forums, part of the Platform Specific Boards category; Ok, I've just inserted the progress dialog component into my app, I used MFC (please no comments), so the code ...

  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: 11-30-2002, 11:27 PM
  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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21