How Delphi 2007 IDE use the IDockingManager

Giganews Newsgroups
Subject:How Delphi 2007 IDE use the IDockingManager
Posted by: Chau Chee Yang (c…@sql.com.my)
Date:Wed, 27 Feb 2008

Hi,

I wish to do something similar to the Delphi 2007 IDE docking.  I found
that Delphi IDE's layout is save in file *.DST.  The content of the file
is in .INI format.  However, if I use IDockingManager.SaveToStream, I
only able to save as binary format.  Is Delphi 2007 using different
instance IDockingManager?

Another question is the .DST file has something like this:

[DockSite2]
HostDockSite=DockRightPanel
DockSiteType=1
PercentageSizes=1
Create=1
Visible=1
Docked=1
State=0
Left=0
Top=23
Width=2483
Height=9053
MaxLeft=-1
MaxTop=-1
ClientWidth=2483
ClientHeight=9053
TBDockHeight=3750
LRDockWidth=2483
Dockable=1
StayOnTop=0
TabPosition=3
ActiveTabID=MIDEXForm
TabDockClients=ProjectManager,DataExplorer,ToolForm,PropertyInspector,MIDEXForm,ModelViewTool

The last time "TabDockClients" save a list of dockable window, but it
seems impossible for me to use TPanel, TSplitter and TDockTabSet to dock
controls in such way.  Any ideas?  Please advice.

--
Best regards,
Chau Chee Yang

E Stream Software Sdn Bhd
URL:www.sql.com.my
SQL Financial Accounting

Replies