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
This sample illustrates working with colors.
This is not an executable sample, so a complete project is not provided. These statements are intended to show the syntax used.
AxSftDirectory1.ActiveColumnBackColor = SystemColors.Highlight AxSftDirectory1.ActiveColumnBackColor = Color.Red AxSftDirectory1.ActiveColumnBackColor = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.BackColor = SystemColors.Highlight AxSftDirectory1.ForeColor = SystemColors.HighlightText AxSftDirectory1.BackColor = Color.Red AxSftDirectory1.ForeColor = Color.White AxSftDirectory1.BackColor = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.ForeColor = ColorTranslator.FromWin32(&HFFFFFF&) AxSftDirectory1.ForeColorArchiveReady = SystemColors.Highlight AxSftDirectory1.ForeColorArchiveReady = Color.Red AxSftDirectory1.ForeColorArchiveReady = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.ForeColorCompressed = SystemColors.Highlight AxSftDirectory1.ForeColorCompressed = Color.Red AxSftDirectory1.ForeColorCompressed = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.ForeColorEncrypted = SystemColors.Highlight AxSftDirectory1.ForeColorEncrypted = Color.Red AxSftDirectory1.ForeColorEncrypted = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.ForeColorHidden = SystemColors.Highlight AxSftDirectory1.ForeColorHidden = Color.Red AxSftDirectory1.ForeColorHidden = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.ForeColorReadOnly = SystemColors.Highlight AxSftDirectory1.ForeColorReadOnly = Color.Red AxSftDirectory1.ForeColorReadOnly = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.SelectBackColor = SystemColors.Highlight AxSftDirectory1.SelectBackColor = Color.Red AxSftDirectory1.SelectBackColor = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.SelectForeColor = SystemColors.HighlightText AxSftDirectory1.SelectForeColor = Color.White AxSftDirectory1.SelectForeColor = ColorTranslator.FromWin32(&HFFFFFF&) AxSftDirectory1.SelectBackColorNoFocus = SystemColors.Highlight AxSftDirectory1.SelectBackColorNoFocus = Color.Red AxSftDirectory1.SelectBackColorNoFocus = ColorTranslator.FromWin32(&HFF&) AxSftDirectory1.SelectForeColorNoFocus = SystemColors.HighlightText AxSftDirectory1.SelectForeColorNoFocus = Color.White AxSftDirectory1.SelectForeColorNoFocus = ColorTranslator.FromWin32(&HFFFFFF&) AxSftDirectory1.get_ColumnEntry(0).BackColor = Convert.ToUInt32(ColorTranslator.ToOle(SystemColors.Highlight) And &HFFFFFFFF&) AxSftDirectory1.get_ColumnEntry(0).ForeColor = Convert.ToUInt32(ColorTranslator.ToOle(SystemColors.HighlightText) And &HFFFFFFFF&) AxSftDirectory1.get_ColumnEntry(0).SelectBackColor = Convert.ToUInt32(ColorTranslator.ToOle(Color.White)) AxSftDirectory1.get_ColumnEntry(0).SelectForeColor = Convert.ToUInt32(&H0&) AxSftDirectory1.CurrentFolder.BackColor = Convert.ToUInt32(ColorTranslator.ToOle(SystemColors.Control) And &HFFFFFFFF&) AxSftDirectory1.CurrentFolder.ForeColor = Convert.ToUInt32(ColorTranslator.ToOle(Color.Black)) AxSftDirectory1.CurrentFolder.ForeColor = Convert.ToUInt32(&H0&) AxSftDirectory1.Headers.BackColor = Convert.ToUInt32(ColorTranslator.ToOle(SystemColors.Highlight) And &HFFFFFFFF&) AxSftDirectory1.Headers.ForeColor = Convert.ToUInt32(ColorTranslator.ToOle(SystemColors.HighlightText) And &HFFFFFFFF&) AxSftDirectory1.Headers.GrayedColor = Convert.ToUInt32(ColorTranslator.ToOle(Color.Gray)) AxSftDirectory1.Headers.DarkEdgeColor = Convert.ToUInt32(ColorTranslator.ToOle(Color.Gray)) AxSftDirectory1.Headers.LightEdgeColor = Convert.ToUInt32(&HFF&)