Cdock

Posted on  by 



  1. Cdock Mac
  2. Cdock 2
-->

Get drivers and downloads for your Dell C/Dock Expansion Station. Download and install the latest drivers, firmware and software. Kelley dock levelers, HVLS fans, trailer restraints, dock seals and ergonomic lifts are solutions for a safe, efficient, energy-saving loading dock.

For more detail see the source code located in the VCatlmfcsrcmfc folder of your Visual Studio installation.

Provides functionality for arranging panes that are derived from the CPane Class into sets of rows.

Syntax

Members

Public Methods

NameDescription
CDockSite::AddRow
CDockSite::AdjustDockingLayout(Overrides CBasePane::AdjustDockingLayout.)
CDockSite::AdjustLayout(Overrides CBasePane::AdjustLayout.)
CDockSite::AlignDockSite
CDockSite::CalcFixedLayout(Overrides CBasePane::CalcFixedLayout.)
CDockSite::CanAcceptPane(Overrides CBasePane::CanAcceptPane.)
CDockSite::CreateEx(Overrides CBasePane::CreateEx.)
CDockSite::CreateRow
CDockSite::DockPane(Overrides CBasePane::DockPane.)
CDockSite::DoesAllowDynInsertBefore(Overrides CBasePane::DoesAllowDynInsertBefore.)
CDockSite::FindRowIndex
CDockSite::FixupVirtualRects
CDockSite::GetDockSiteID
CDockSite::GetDockSiteRowsList
CDockSite::IsAccessibilityCompatible(Overrides CBasePane::IsAccessibilityCompatible.)
CDockSite::IsDragMode
CDockSite::IsLastRow
CDockSite::IsRectWithinDockSite
CDockSite::IsResizable(Overrides CBasePane::IsResizable.)
CDockSite::MovePane
CDockSite::OnInsertRow
CDockSite::OnRemoveRow
CDockSite::OnResizeRow
CDockSite::OnSetWindowPos
CDockSite::OnShowRow
CDockSite::OnSizeParent
CDockSite::PaneFromPointReturns a pane that is docked in the dock site at the point specified by the given parameter.
CDockSite::DockPaneLeftOfDocks a pane to the left of another pane.
CDockSite::FindPaneByIDReturns the pane that is identified by the given ID.
CDockSite::GetPaneListReturns a list of panes that are docked at the dock site.
CDockSite::RectSideFromPoint
CDockSite::RemovePane
CDockSite::RemoveRow
CDockSite::ReplacePane
CDockSite::RepositionPanes
CDockSite::ResizeDockSite
CDockSite::ResizeRow
CDockSite::ShowPaneShows the pane.
CDockSite::ShowRow
CDockSite::SwapRows

Remarks

The framework creates CDockSite objects automatically when you call CFrameWndEx::EnableDocking. Dock site windows are positioned at the edge of the client area on the main frame window.

You usually do not have to call the services provided by the dock site because CFrameWndEx Class handles these services.

Example

The following example demonstrates how to create an object of the CDockSite class.

Inheritance Hierarchy

CObject
└ CCmdTarget
└ CWnd
└ CBasePane
└ CDockSite

Requirements

Header: afxDockSite.h

CDockSite::AddRow

Parameters

[in] pos

[in] nHeight

Return Value

Remarks

CDockSite::AdjustDockingLayout

Remarks

CDockSite::AdjustLayout

Remarks

CDockSite::AlignDockSite

Parameters

[in] rectToAlignBy

[in] rectResult

[in] bMoveImmediately

Remarks

CDockSite::CalcFixedLayout

Parameters

[in] bStretch

[in] bHorz

Return Value

Remarks

CDockSite::CanAcceptPane

Parameters

[in] pBar

Return Value

Remarks

CDockSite::CreateEx

Parameters

[in] dwStyleEx

[in] dwStyle

[in] rect

[in] pParentWnd

[in] dwControlBarStyle

[in] pContext

Return Value

Remarks

CDockSite::CreateRow

Parameters

[in] pParentDockBar

[in] nOffset

[in] nRowHeight

Return Value

Remarks

CDockSite::DockPane

Parameters

[in] pWnd

[in] dockMethod

[in] lpRect

Remarks

CDockSite::DockPaneLeftOf

Docks a pane to the left of another pane.

Parameters

pBarToDock
[in, out] A pointer to the pane to be docked to the left of pTargetBar.

pTargetBar
[in, out] A pointer to the target pane.

Return Value

TRUE if the pane is docked successfully; otherwise, FALSE.

Remarks

Dock

CDockSite::DoesAllowDynInsertBefore

Return Value

Remarks

CDockSite::FindPaneByID

Returns the pane with the given ID.

Parameters

nID
[in] The command ID of the pane to be found.

Return Value

A pointer to the pane with the specified command ID, or NULL if the pane is not found.

Remarks

CDockSite::FindRowIndex

Parameters

[in] pRow

Return Value

Remarks

CDockSite::FixupVirtualRects

Remarks

CDockSite::GetDockSiteID

Return Value

Remarks

CDockSite::GetDockSiteRowsList

Return Value

Remarks

CDockSite::GetPaneList

Returns a list of panes that are docked in the dock site.

Return Value

A read-only reference to the list of panes currently docked in the docking bar.

CDockSite::IsAccessibilityCompatible

Return Value

Remarks

CDockSite::IsDragMode

Return Value

Remarks

CDockSite::IsLastRow

Parameters

[in] pRow

Return Value

Remarks

CDockSite::IsRectWithinDockSite

Parameters

[in] rect

Docking

[in] ptDelta

Return Value

Remarks

CDockSite::IsResizable

Return Value

Remarks

CDockSite::MovePane

Parameters

[in] pWnd

[in] nFlags

[in] ptOffset

Return Value

Remarks

CDockSite::OnInsertRow

Parameters

[in] pos

Remarks

CDockSite::OnRemoveRow

Parameters

[in] pos

[in] bByShow

Remarks

CDockSite::OnResizeRow

Parameters

[in] pRowToResize

[in] nOffset

Return Value

Remarks

CDockSite::OnSizeParent

Parameters

[in] rectAvailable

[in] nSide

[in] bExpand

[in] nOffset

Remarks

CDockSite::OnSetWindowPos

Parameters

[in] pWndInsertAfter

[in] rectWnd

[in] nFlags

Return Value

Remarks

CDockSite::OnShowRow

Parameters

[in] pos

[in] bShow

Remarks

CDockSite::PaneFromPoint

Returns a pane that is docked in the dock site at the point specified by the given parameter.

Parameters

pt
[in] A point, in screen coordinates, for the pane to retrieve.

Return Value

A pointer to the pane located at the specified point or NULL if no pane was present at the specified point.

Remarks

CDockSite::RectSideFromPoint

Parameters

[in] rect

[in] point

Return Value

Remarks

CDockSite::RemovePane

Parameters

[in] pWnd

[in] dockMethod

Remarks

CDockSite::RemoveRow

Parameters

[in] pRow

Remarks

CDockSite::ReplacePane

Parameters

[in] pOldBar

[in] pNewBar

Return Value

Remarks

CDockSite::RepositionPanes

Cdock Mac

Parameters

[in] rectNewClientArea

Remarks

CDockSite::ResizeDockSite

Parameters

[in] nNewWidth

[in] nNewHeight

Remarks

CDockSite::ResizeRow

Parameters

[in] pRow

[in] nNewSize

[in] bAdjustLayout

Return Value

Cdock 2

Remarks

CDockSite::ShowPane

Shows the pane.

Parameters

pBar
[in, out] A pointer to the pane to be shown or hidden.

bShow
[in] TRUE to specify that the pane is to be shown; FALSE to specify that the pane is to be hidden.

bDelay
[in] TRUE to specify that the layout of the pane should be delayed until after the pane is shown; otherwise, FALSE.

bActivate
[in] This parameter is not used.

Return Value

TRUE if the pane was shown or hidden successfully. FALSE if the specified pane does not belong to this dock site.

Remarks

Call this method to show or hide docked panes. Normally, you do not have to call CDockSite::ShowPane directly, because it is called by the parent frame window or by the base pane.

CDockSite::ShowRow

Parameters

[in] pRow

Cdock

[in] bShow

[in] bAdjustLayout

Remarks

CDockSite::SwapRows

Parameters

[in] pFirstRow

[in] pSecondRow

Remarks

See also

Hierarchy Chart
Classes
CBasePane Class

Accurate binding mode prediction:
CovDock is built upon a foundation of the time-tested Glide docking algorithm and Prime structure refinement methodology for accurate prediction of non-covalently docked poses. Glide quickly samples a large pool of initial poses for the pre-reactive species and Prime simultaneously optimizes the ligand pose and attachment residue to produce a sound physical chemistry. The resultant accuracy outperforms other docking programs in achieving lower RMS deviations from native co-crystallized structures.

Complete workflow:
CovDock performs a series of automated steps based on a simple setup from the Maestro graphical interface or from the command line. First, CovDock docks the pre-reactive ligand to determine viable poses that bring the reactive group into close proximity with the reactive receptor residue. Then the covalent bond is formed for the top scoring complex structures, the covalently attached ligand is sampled, and the complexes are scored using all-atom molecular mechanics with the OPLS force field and VSGB2.0 implicit solvent model.

Intuitive graphical interface:
Schrödinger’s intuitive graphical user interface, Maestro, provides easy-to-use panels for straightforward set-up of experiments, easy visualization, and efficient analysis of CovDock results.

Citations and Acknowledgements

ö Zhu, K.; Borrelli, K.W.; Greenwood, J.R.; Day, T.; Abel, R.; Farid, R.S.; Harder, E., 'Docking covalent inhibitors: A parameter free approach to pose prediction and scoring,' J. Chem. Inf. Model., 2014, 54, 1932−1940





Coments are closed