Click to See Complete Forum and Search --> : DialogBar Invisible when upgraded to VC++ 6.0


Prashanth Patali
April 16th, 1999, 02:50 AM
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

mihai
April 17th, 1999, 10:21 AM
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

Roger Osborn
April 17th, 1999, 03:53 PM
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.