From splitter sample, I try to change ListDocker's size like this:
m_pDockTree->Dock(m_pDockList, dwStyle | DS_DOCKED_RIGHT);
When the ListDocker is docked already, I execute the above code, strange behaviour will appear when dragging the splitbar.
If I hide the ListDocker at first( m_pDockList->Hide(); ), it works well.
Is this a bug?
Can I change the docker's size without hiding it at first ?
Currently the docking software doesn't cater for resizing a docked docker (except by dragging the splitter bar of course). The SetDockSize function wasn't intended for this purpose when it was written. It was intended for internal use by CDocker (perhaps it should have been made private).
Anyway I'll add support for dynamically resizing a docked docker in the next version. I'll post another reply to this forum when the code is written.
Thank you very much, looking forward the new version.
Just a quick note to advise that I've submitted an update which now supports dynamic resizing of Dockers using the SetDockSize function. The latest code can be downloaded with Tortoise SVN.
Thank you for the update :)
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.