Click here to Skip to main content
15,302,644 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have a vb6 app that is a thin strip. I turned it into a docking app bar so it would integrate with the host app better and not float on top of it. All is well.

However, before it was a dockable appbar, I had a hotkey combination to hide and unhide the thin strip of a form using form.hide and

Now when I want to hide it, I want the appbar space it was docked "into" to be reclaimed by the host app. So I Destroy the AppBar and the space is indeed reclaimed.

Now when I toggle the hide show hot key I recreate the AppBar and do a, but this must not be cricket because the form now thinks it needs to be part of the host app's desktop space at it's bottom, not in the AppBar docking space just below. I can't drag or position it in there as the desktop no longer believes this form is to occupy that docking space.

I have tried everything I can think of and google to turn that form "back on" in it's AppBar docking space with no joy.

Thanks in advance for anyone who can redirect me from my erroring ways.

Ron - The AppBar Newbe (2 days)!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900