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
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
SftTree/NET 2.0 - Tree Control
Loads an image from a file as a GDI+ image.
| VB.NET | object.LoadImage(ByVal Filename As String, ByVal UseEmbeddedColorManagement As Boolean) |
| VB | object.LoadImage(ByVal Filename As String, ByVal UseEmbeddedColorManagement As Boolean) |
| C#.NET | void object.LoadImage(string Filename, bool UseEmbeddedColorManagement); |
| VC++ | HRESULT object->LoadImageSftTree(_bstr_t Filename, VARIANT_BOOL UseEmbeddedColorManagement); |
| C | HRESULT object->raw_LoadImageSftTree(BSTR Filename, VARIANT_BOOL UseEmbeddedColorManagement); |
object
A SftPictureObject object.
Filename
The name of the file containing a GDI+ image.
UseEmbeddedColorManagement
Defines whether the Image object applies color correction according to color management information that is embedded in the image file. Embedded information can include International Color Consortium (ICC) profiles, gamma values, and chromaticity information. True to enable color correction, False otherwise.
The LoadImage method loads an image from a file as a GDI+ image.
The image object is owned by the tree control and will be deleted when it is no longer used.
C/C++ Only: The LoadImage method is renamed to LoadImageSftTree by the #import statement used (see "Using SftTree/OCX with Visual C++ 6.0" or "Using SftTree/OCX with Visual Studio (Unmanaged C/C++)") to avoid a conflict with the Windows LoadImage macro.
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
// Note that LoadIcon does not require a subsequent DestroyIcon in Win32
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
m_Logo.LoadBitmap(IDB_LOGO);
m_SmallBitmap.LoadBitmap(IDB_SMILE);
m_hIcon = LoadIcon(AfxGetApp()->m_hInstance, MAKEINTRESOURCE(IDR_MAINFRAME));
m_hIconSmall = (HICON) LoadImage(AfxGetApp()->m_hInstance, MAKEINTRESOURCE(IDR_MAINFRAME), IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR);
m_ImgList.Create(IDB_TOOLBAR, 16, 0, RGB(255,0,0));
m_fSortDirection = FALSE;
}
CPicturesDlg::~CPicturesDlg()
{See Also SftPictureObject Object | Object Hierarchy
