Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. re: Problems with Progress Bar

re: Problems with Progress Bar

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bryster
    wrote on last edited by
    #1

    Hi I have recently upgraded from Windows 2000 to Windows XP Professional and have noticed that when I run my applications the progress bar stops and the application looks as if it has crashed, but after a while finishes. I have Mcafee Virus protection running in the background, is this causing the problem? The code is a simple "UpdateData(FALSE)" instruction after setting the ProgressBar.SetPos() which is looping until an EOF instruction. Any Ideas? Thank you in advance Brian.:doh:

    H K M 3 Replies Last reply
    0
    • B Bryster

      Hi I have recently upgraded from Windows 2000 to Windows XP Professional and have noticed that when I run my applications the progress bar stops and the application looks as if it has crashed, but after a while finishes. I have Mcafee Virus protection running in the background, is this causing the problem? The code is a simple "UpdateData(FALSE)" instruction after setting the ProgressBar.SetPos() which is looping until an EOF instruction. Any Ideas? Thank you in advance Brian.:doh:

      H Offline
      H Offline
      Hans Dietrich
      wrote on last edited by
      #2

      1. Disable McAfee and observe the result. 2. Put a ProgressBar.RedrawWindow(); after the UpdateData(FALSE); and observe the result.

      Best wishes, Hans


      [CodeProject Forum Guidelines] [How To Ask A Question] [My Articles]

      B 1 Reply Last reply
      0
      • H Hans Dietrich

        1. Disable McAfee and observe the result. 2. Put a ProgressBar.RedrawWindow(); after the UpdateData(FALSE); and observe the result.

        Best wishes, Hans


        [CodeProject Forum Guidelines] [How To Ask A Question] [My Articles]

        B Offline
        B Offline
        Bryster
        wrote on last edited by
        #3

        Unfortunately this has not solved the problem. Thanks for trying.

        1 Reply Last reply
        0
        • B Bryster

          Hi I have recently upgraded from Windows 2000 to Windows XP Professional and have noticed that when I run my applications the progress bar stops and the application looks as if it has crashed, but after a while finishes. I have Mcafee Virus protection running in the background, is this causing the problem? The code is a simple "UpdateData(FALSE)" instruction after setting the ProgressBar.SetPos() which is looping until an EOF instruction. Any Ideas? Thank you in advance Brian.:doh:

          K Offline
          K Offline
          krmed
          wrote on last edited by
          #4

          After your UpdateData(FALSE) add a

          ProgressBar.UpdateWindow()

          I believe that will solve your problem. Hope that helps.

          Karl - WK5M PP-ASEL-IA (N43CS) PGP Key: 0xDB02E193 PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

          1 Reply Last reply
          0
          • B Bryster

            Hi I have recently upgraded from Windows 2000 to Windows XP Professional and have noticed that when I run my applications the progress bar stops and the application looks as if it has crashed, but after a while finishes. I have Mcafee Virus protection running in the background, is this causing the problem? The code is a simple "UpdateData(FALSE)" instruction after setting the ProgressBar.SetPos() which is looping until an EOF instruction. Any Ideas? Thank you in advance Brian.:doh:

            M Offline
            M Offline
            Mark Salsbery
            wrote on last edited by
            #5

            Why do you need to call UpdateData? Are other controls changing or just the progress control? Mark

            Mark Salsbery Microsoft MVP - Visual C++ :java:

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups