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
Repaints the entire control.
VB.NET | object.Refresh() object.CtlRefresh() |
VB | object.Refresh |
C#.NET | void object.Refresh(); void object.CtlRefresh(); |
VC++ | HRESULT object->Refresh(); |
C | HRESULT object->raw_Refresh(); |
object
The Refresh method repaints the entire control.
The Reload method is used to reload the contents of the control.
AxSftDirectoryRight.MakeColumnsOptimal() End Sub Private Sub AxSftDirectoryLeft_SelectionFinal(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxSftDirectoryLeft.SelectionFinal ' If the selection in the left tree changes, update right side detaillist UpdateLeftButtons() AxSftDirectoryRight.Clear() AxSftDirectoryRight.CancelMode() AxSftDirectoryRight.Refresh() If Not AxSftDirectoryLeft.CurrentFolder Is Nothing Then AxSftDirectoryRight.TopMostFolderIDL = AxSftDirectoryLeft.CurrentFolder.ItemIDList Else AxSftDirectoryRight.TopMostFolderSpecial = SftDirectorySpecialFolderConstants.specialSftDirectoryEmpty End If End Sub
SftDirectoryRight.MakeColumnsOptimal End Sub Private Sub SftDirectoryLeft_SelectionFinal() ' If the selection in the left tree changes, update right side detaillist UpdateLeftButtons SftDirectoryRight.Clear SftDirectoryRight.CancelMode SftDirectoryRight.Refresh If Not SftDirectoryLeft.CurrentFolder Is Nothing Then SftDirectoryRight.TopMostFolderIDL = SftDirectoryLeft.CurrentFolder.ItemIDList Else SftDirectoryRight.TopMostFolderSpecial = specialSftDirectoryEmpty End If End Sub
} } private void axSftDirectoryLeft_SelectionFinal(object sender, System.EventArgs e) { // If the selection in the left tree changes, update right side detaillist UpdateLeftButtons(); axSftDirectoryRight.Clear(); axSftDirectoryRight.CancelMode(); axSftDirectoryRight.Refresh(); if (axSftDirectoryLeft.CurrentFolder != null) axSftDirectoryRight.TopMostFolderIDL = axSftDirectoryLeft.CurrentFolder.ItemIDList; else axSftDirectoryRight.TopMostFolderSpecial = SftDirectorySpecialFolderConstants.specialSftDirectoryEmpty; } private void axSftDirectoryRight_Opening(object sender, AxSftDirectoryLib30._ISftDirectoryEvents_OpeningEvent e) {
void CSimpleExplorerDlg::OnSelectionFinal_SftDirectoryLeft() { ISftDirectoryPtr vDirRight = m_DirRight.GetControlUnknown(); ISftDirectoryPtr vDirLeft = m_DirLeft.GetControlUnknown(); UpdateLeftButtons(); vDirRight->Clear(); vDirRight->CancelMode(); vDirRight->Refresh(); if (vDirLeft->CurrentFolder != NULL) vDirRight->TopMostFolderIDL = vDirLeft->CurrentFolder->ItemIDList; else vDirRight->TopMostFolderSpecial = specialSftDirectoryEmpty; } void CSimpleExplorerDlg::OnOpening_SftDirectoryRight(LPDISPATCH FAR* Folder, BOOL FAR* Allow)
See Also SftDirectory Object | Object Hierarchy