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. Weird ProgBar Prob...

Weird ProgBar Prob...

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestiondiscussionlearning
3 Posts 2 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.
  • U Offline
    U Offline
    u6ik
    wrote on last edited by
    #1

    Hi All Got a weird problem. I am using VC++ SDK v6.0 and placing a Progbar active component in the dialog window for obvious progress status reasons... however, it causes the window to disappear from the program. Not just the dialog window, the whole program vanishes from the screen. I know it's running due to the program icon in the taskbar, though nothing is shown onscreen. Also, when removed from the resource dialog all is fine and the window reappears. I'm not sure what's going on as I've used PBs before with no trouble. comctl32.lib is in place and the correct headers... all very weird. Any thoughts? :confused: u6ik (The Confused)

    M 1 Reply Last reply
    0
    • U u6ik

      Hi All Got a weird problem. I am using VC++ SDK v6.0 and placing a Progbar active component in the dialog window for obvious progress status reasons... however, it causes the window to disappear from the program. Not just the dialog window, the whole program vanishes from the screen. I know it's running due to the program icon in the taskbar, though nothing is shown onscreen. Also, when removed from the resource dialog all is fine and the window reappears. I'm not sure what's going on as I've used PBs before with no trouble. comctl32.lib is in place and the correct headers... all very weird. Any thoughts? :confused: u6ik (The Confused)

      M Offline
      M Offline
      mark novak
      wrote on last edited by
      #2

      Try calling InitCommonControlsEx() with ICC_PROGRESS_CLASS before you start your main winproc.

      U 1 Reply Last reply
      0
      • M mark novak

        Try calling InitCommonControlsEx() with ICC_PROGRESS_CLASS before you start your main winproc.

        U Offline
        U Offline
        u6ik
        wrote on last edited by
        #3

        Don't know how I missed that, my idiot moment for the day. Many thanks ;) u6ik

        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