How can I use the FileView ActiveX Controls with the FolderView and ShComboBox ActiveX Controls?
All you need to do is write two simple lines of code!! Fore more information, see Shell MegaPack. For the latest information, product updates and special offers, please visit our website www.ssware.com Using the three controls together FileView can be used with ShComboBox and FolderView to create an entire Windows Explorer with custom functionality in your own application. Shown below is a simple application which uses the three controls together to give Windows Explorer functionality Linking the three controls involves only two simple lines of code : Consider a form or a dialog box where you have a FileView Control named fileVw, FolderView Control named fldrVw and a ShComboBox Control named shCmbBox. Visual Basic shCmbBox.FolderView = fldrvVw fldrVw.FileView = fileVw Visual C++ shCmbBox.SetFolderView((IDispatch*)fldrVw.GetControlUnknown()); fldrVw.SetFileView((IDispatch*)fileVw.GetControlUnknown()); Borland Delphi shCmbBox.FolderView:=fldrvw.ControlInterface ; fldrvw.FileView:=filevw.