CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    33

    DialogBar Invisible when upgraded to VC++ 6.0

    Hi,
    I have a graphic application developed on VC++5.0. The application has a DialogBar which show the current cursor location(Graphic Coordinates) in the application window. When I installed VC++ 6.0 and run my application I was surprised to find that my Dialog Bar is not visible. I step through the code of my application and it show that Create of Dialog Bar succeed but still the Dialog Bar isn't visible. I am totally puzzled ! Any solutions ?

    Thanks & Regards
    Prashanth






  2. #2
    Join Date
    May 1999
    Posts
    48

    Re: DialogBar Invisible when upgraded to VC++ 6.0

    ShowControlBar, and check with Spy++, if the dialogbar is created, if yes, the dimensions..
    Another idea is try to remove your application INI file, in idea that you used SaveBarState function. Who knows?
    Sincerely, Mihai


  3. #3
    Join Date
    Apr 1999
    Posts
    48

    Re: DialogBar Invisible when upgraded to VC++ 6.0

    Extending Mihai's idea that it's SaveBarState/LoadBarState that's gone wrong you might find that the toolbar state has been switched to be stored in the registry instead of the ini file, so you'd have to carefully delete the relevant key instead.
    Search your program for calls to SetRegistryKey to find out.
    I've had similarly problems when the toolbar state information has got corrrupted.





Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured