Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I use the ShComboBox ActiveX Controls with the FileView and FolderView ActiveX Controls?

0
Posted

How can I use the ShComboBox ActiveX Controls with the FileView and FolderView ActiveX Controls?

0

Linking the three controls involves only two simple lines of code : Consider a form or a dialog box where you have a ShComboBox Control named shCmbBox, FolderView Control named fldrVw and a FileView Control named fileVw. 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.ControlInterface; Borland C++ Builder shCmbBox->FolderView = fldrVw->ControlInterface; fldrVw->FileView = fileVw->ControlInterface; Microsoft Access shCmbBox.FolderView = fldrVw.Object fldrVw.FileView = fileVw.Object Using ShComboBox with FileView only Using ShComboBox with FileView requires just one line of code on your part. The code required is given below. Consider a form or a dialog box where you have a ShComboBox Control named shCmbBox and a FileView Control named fileVw. Visual

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123