Weird ProgBar Prob...
-
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)
-
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)
Try calling InitCommonControlsEx() with ICC_PROGRESS_CLASS before you start your main winproc.
-
Try calling InitCommonControlsEx() with ICC_PROGRESS_CLASS before you start your main winproc.