- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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?
Solved! Go to Solution.