Where is docking data persisted?

Where is docking data persisted?

Kyudos
Advisor Advisor
655 Views
2 Replies
Message 1 of 3

Where is docking data persisted?

Kyudos
Advisor
Advisor

I'm creating some docking bars and I'm trying to persist their position and size etc. So I've created a CLSID for each docking window and I've called CAdUiDockControlBar::SetToolID. So far so good - my bar remembers where it last was when I show it - but I also want it to remember if it was visible last session. To that end I've created SHOW and HIDE commands and added them under the CLSID in HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R22.0\ACAD-1000:409\DockingTools, I'm also calling AdUiRegisterTool in my setup.

 

This causes my SHOW command to fire during app startup, but my docking window is not visible (I have to run the command again to see it). I wanted to check everything from a 'clean' start - but I can't find where my window details are persisted. They don't seem to be in the registry - which suggests a file, but which one? Does anyone know?

0 Likes
Accepted solutions (1)
656 Views
2 Replies
Replies (2)
Message 2 of 3

owenwengerd
Advisor
Advisor
Accepted solution

I don't recall which, but either FixedProfile.aws or Profile.aws.

--
Owen Wengerd
ManuSoft
0 Likes
Message 3 of 3

Kyudos
Advisor
Advisor
It was Profile.aws, thanks! (and I just need to make my bar visible, to make it show on startup....RestoreControlBar is not enough 🙂
0 Likes