SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Retrieves the content window attached to the cell.
VB.NET | object.GetContentWindow(ByRef Window As Integer, ByRef Style As SftTreeContentWindowStyleConstants) |
VB | object.GetContentWindow(Window As OLE_HANDLE, Style As SftTreeContentWindowStyleConstants) |
C#.NET | void object.GetContentWindow(out int Window, out SftTreeContentWindowStyleConstants Style); |
VC++ | HRESULT object->GetContentWindow(OLE_HANDLE* Window, enum SftTreeContentWindowStyleConstants* Style); |
C | HRESULT object->raw_GetContentWindow(OLE_HANDLE* Window, enum SftTreeContentWindowStyleConstants* Style); |
object
A SftTreeCell object.
Window
Returns the window handle of the window used for the cell as a content window. Returns NULL/Nothing if the cell does not have a content window.
Style
Returns the current options defined for the content window. Values of the following tables can be combined:
Name | Value | Description |
---|---|---|
contentWindowSftTreeNone | 0 | None - No special handling. |
contentWindowSftTreeKeepDisabled | 1 | Keep Disabled - The content window is always disabled. A content window is normally enabled and disabled as it is made visible or hidden. When contentWindowSftTreeKeepDisabled is specified, the content window is always disabled, even when it is visible. |
contentWindowSftTreeKeepSize | 2 | Keep Size (Variable Height Tree Control) - The original size of the content window is preserved and the cell size adjusts accordingly. While a column can still be smaller or larger than the content window width, the content window is not resized, it is merely clipped. Without contentWindowSftTreeKeepSize, a content window is resized in height and width to fit within the cell. contentWindowSftTreeKeepSize has no effect in a fixed height tree control. |
The GetContentWindow method retrieves the content window attached to the cell.
The Cell.AttachContentWindow method can be used to attach a content window to a cell.
See Also SftTreeCell Object | Object Hierarchy