Public Member Functions | |
| HRESULT | SetPanelsContainer ([in] IRsPanelObjContainer *pPanels) |
| HRESULT | GetPanelsContainer ([out, retval] IRsPanelObjContainer **ppPanels) |
| HRESULT | AddPanel ([in] BSTR bsRootNodeName,[in] BSTR bsTitle,[in] RtUlong uAspect,[in] RtPanelViewType uType,[in] RtBool bShowAspectBtn) |
| HRESULT | RemoveType ([in] RtPanelViewType uType) |
| HRESULT | InitializeViewControl ([in] IRsStackPanelView *pViewControl) |
| HRESULT | DeactivateViewControl (void) |
| HRESULT | RedrawView ([in] RtBool bEnableRedraw) |
| HRESULT | GetPanelScanner ([out, retval] IRsPanelScanner **ppPanelScanner) |
| HRESULT | OnResizeView ([in] LPCRECT pNewRect) |
| HRESULT | GetPanelsRect ([out, retval] RECT *pPanelsRect) |
| HRESULT | UpdatePanelsRect (void) |
| HRESULT | SwitchExpandStateByPos ([in] POINT ptPosition) |
| HRESULT | ClosePanelByPos ([in] POINT ptPosition) |
| HRESULT | ClosePanelByScreenPos ([in] POINT ptPosition) |
| HRESULT | UpdateAspectByPos ([in] POINT ptPosition) |
| HRESULT | ClosePanelByName ([in] BSTR bszPanelName) |
| HRESULT | Invalidate () |
| HRESULT | SetDraggedItem ([in] POINT ptPosition) |
| HRESULT | GetDraggedPanel ([out, retval] IRsPanelObj **ppPanel) |
| HRESULT | GetPanelUnderPoint ([in] POINT pt,[out, retval] IRsPanelObj **ppPanel) |
| HRESULT | GetDockInfoInRect ([in] POINT pntCursor,[in] IRsNode *pDockingNode,[out] RECT *pDockRect,[out] BSTR *pDockCommand) |
Properties | |
| RtUlong * | AddMode [get] |
| RtUlong | AddMode [set] |
| BSTR | PivotRoot [set] |
| BSTR * | PivotRoot [get] |
| RtUlong | PivotIndex [set] |
| RtUlong * | PivotIndex [get] |
| HRESULT IRsStackPanelViewDecorator::SetPanelsContainer | ( | [in] IRsPanelObjContainer * | pPanels | ) |
Set panel's container to stack panel view decorator.
| pPanels | [in] Parameter contains new panel objects array. |
| HRESULT IRsStackPanelViewDecorator::GetPanelsContainer | ( | [out, retval] IRsPanelObjContainer ** | ppPanels | ) |
Get panel's container of stack panel view decorator.
| HRESULT IRsStackPanelViewDecorator::AddPanel | ( | [in] BSTR | bsRootNodeName, | |
| [in] BSTR | bsTitle, | |||
| [in] RtUlong | uAspect, | |||
| [in] RtPanelViewType | uType, | |||
| [in] RtBool | bShowAspectBtn | |||
| ) |
Add panel to stack panel view.
| bsRootNodeName | [in] Root of node that will be attached to added panel object. | |
| bsTitle | [in] Title of panel object.
| |
| uAspect | [in] Current aspect. | |
| uType | [in] Panel view type. | |
| bShowAspectBtn | [in] Set aspect button visible if true, or hide if false. |
| HRESULT IRsStackPanelViewDecorator::RemoveType | ( | [in] RtPanelViewType | uType | ) |
Removes all panels of specified panel view type from stack panel view.
| uType | [in] The panel view type.
|
| HRESULT IRsStackPanelViewDecorator::InitializeViewControl | ( | [in] IRsStackPanelView * | pViewControl | ) |
Initialize stack view control.
| pViewControl | [in] Initial stack view control. |
| HRESULT IRsStackPanelViewDecorator::DeactivateViewControl | ( | void | ) |
Deactivate view control.
| HRESULT IRsStackPanelViewDecorator::RedrawView | ( | [in] RtBool | bEnableRedraw | ) |
Method sets redraw on and off.
| bEnableRedraw | [in] If true, redraw is set to on, if false redraw is set to off. |
| HRESULT IRsStackPanelViewDecorator::GetPanelScanner | ( | [out, retval] IRsPanelScanner ** | ppPanelScanner | ) |
Call this method to retrieve panel's scanner object.
| HRESULT IRsStackPanelViewDecorator::OnResizeView | ( | [in] LPCRECT | pNewRect | ) |
Handle resize of view control.
| pNewRect | [in] Parameter is not used. |
| HRESULT IRsStackPanelViewDecorator::GetPanelsRect | ( | [out, retval] RECT * | pPanelsRect | ) |
Gets bounding rectangle of panels in stack view.
| pPanelsRect | [out, retval] Pointer to a variable of type RECT that retrieves bounding rectangle of panels in stack view coordinates. |
| HRESULT IRsStackPanelViewDecorator::UpdatePanelsRect | ( | void | ) |
Update bounding rectangle of panels.
| HRESULT IRsStackPanelViewDecorator::SwitchExpandStateByPos | ( | [in] POINT | ptPosition | ) |
Switch expand state of panel specified by its position.
| ptPosition | [in] Position of panel object in stack view coordinates. |
| HRESULT IRsStackPanelViewDecorator::ClosePanelByPos | ( | [in] POINT | ptPosition | ) |
Close panel specified by its position.
| ptPosition | [in] Position of panel object in stack view coordinates. |
| HRESULT IRsStackPanelViewDecorator::ClosePanelByScreenPos | ( | [in] POINT | ptPosition | ) |
Close panel specified by its position in screen coordinates.
| ptPosition | [in] Position of panel object in screen coordinates. |
| HRESULT IRsStackPanelViewDecorator::UpdateAspectByPos | ( | [in] POINT | ptPosition | ) |
Update aspect of panel specified by its position.
| ptPosition | [in] Position of panel object in stack view coordinates. |
| HRESULT IRsStackPanelViewDecorator::ClosePanelByName | ( | [in] BSTR | bszPanelName | ) |
Close panel specified by its name.
| bszPanelName | [in] Root of panel node attached to panel that will be closed. |
| HRESULT IRsStackPanelViewDecorator::Invalidate | ( | ) |
Close all panels that doesn't exist and recalculate rectangles of existing panels.
| HRESULT IRsStackPanelViewDecorator::SetDraggedItem | ( | [in] POINT | ptPosition | ) |
Set panel specified by its position as dragged.
| ptPosition | [in] Position of panel object in stack view coordinates. |
| HRESULT IRsStackPanelViewDecorator::GetDraggedPanel | ( | [out, retval] IRsPanelObj ** | ppPanel | ) |
Call this method to retrieve dragged panel.
| HRESULT IRsStackPanelViewDecorator::GetPanelUnderPoint | ( | [in] POINT | pt, | |
| [out, retval] IRsPanelObj ** | ppPanel | |||
| ) |
Call this method to retrieve panel under point.
| pt[in] | Reference point in screen coordinates. |
| HRESULT IRsStackPanelViewDecorator::GetDockInfoInRect | ( | [in] POINT | pntCursor, | |
| [in] IRsNode * | pDockingNode, | |||
| [out] RECT * | pDockRect, | |||
| [out] BSTR * | pDockCommand | |||
| ) |
Call this method to get dock info.
| pntCursor | [in] Cursor position in screen coordinates. | |
| pDockingNode | [in] Docking frame window node. | |
| pDockRect | [out] Rectangle of panel under cursor.
| |
| pDockCommand | [out] Pointer retrieves command that should be execute for docking. |
S_FALSE if stack view is empty of there is no panel under cursor.
RtUlong* IRsStackPanelViewDecorator::AddMode [get] |
Get decorator addition mode.
RtUlong IRsStackPanelViewDecorator::AddMode [set] |
Set decorator addition mode.
| newVal | [in] New add mode. See list of possible flags:
|
BSTR IRsStackPanelViewDecorator::PivotRoot [set] |
Set root of decorator's pivot.
| newVal | [in] Root of pivot panel object. |
BSTR* IRsStackPanelViewDecorator::PivotRoot [get] |
Get root of decorator's pivot.
RtUlong IRsStackPanelViewDecorator::PivotIndex [set] |
Set index of decorator's pivot.
| newVal | [in] Index of pivot panel object. |
RtUlong* IRsStackPanelViewDecorator::PivotIndex [get] |
Get index of decorator's pivot.
1.5.5