Discussion:
VB6: Programmatically docking tool windows
(too old to reply)
Paul
2007-09-21 18:28:01 UTC
Permalink
Is there any way of controlling the dock location of a custom tool window
from within a VB6 add-in?

I'm aware that VB stores information in the registry at
HKCU\Software\Microsoft\Visual Basic\6.0\Dock in REG_BINARY format, but
unfortunately the format would appear to be undocumented.

Any pointers much appreciated.
Karl E. Peterson
2007-09-21 20:01:49 UTC
Permalink
Post by Paul
Is there any way of controlling the dock location of a custom tool window
from within a VB6 add-in?
I'm aware that VB stores information in the registry at
HKCU\Software\Microsoft\Visual Basic\6.0\Dock in REG_BINARY format, but
unfortunately the format would appear to be undocumented.
Any pointers much appreciated.
Reading the first sentence, I jumped mentally straight to the second. As for the
third, I'd have to suggest reverse-engineering the second. Maybe start by closing
all but one tool window, redocking that a few times, and noting the differences.
Then add another. And so on?
--
.NET: It's About Trust!
http://vfred.mvps.org
Paul
2007-09-22 06:28:00 UTC
Permalink
That's the conclusion I came to. I was hoping for a more concrete definition
of the binary format but I guess MS wouldn't want to share that information...

I'll post my findings if they make sense.

Thanks,
Paul
Post by Karl E. Peterson
Post by Paul
Is there any way of controlling the dock location of a custom tool window
from within a VB6 add-in?
I'm aware that VB stores information in the registry at
HKCU\Software\Microsoft\Visual Basic\6.0\Dock in REG_BINARY format, but
unfortunately the format would appear to be undocumented.
Any pointers much appreciated.
Reading the first sentence, I jumped mentally straight to the second. As for the
third, I'd have to suggest reverse-engineering the second. Maybe start by closing
all but one tool window, redocking that a few times, and noting the differences.
Then add another. And so on?
--
..NET: It's About Trust!
http://vfred.mvps.org
Loading...