Sky Software Homepage LogicNP Software Knowledge Base And FAQ

 
Contact Product Support    SearchSearch      Subscribe to the RSS feed for this forum

HOWTO : Use an ActiveX control for a custom view in the namespace extension

 
Subscribe to the RSS feed for this forum  Forum Index -> EZNamespaceExtensionsMFC
View previous topic :: View next topic  
Author Message
Support



Joined: 18 Jul 2005
Posts: 731

Posted: Tue May 06, 2008 9:32 am    Post subject: HOWTO : Use an ActiveX control for a custom view in the namespace extension

To use an ActiveX control for a custom view in your namespace extension, use AfxEnableControlContainer(); in the InitInstance method of namespace extension project. This enables support for containment of OLE controls.

The code is as follows :

BOOL CFileSystemBrowserCustomViewApp::InitInstance()
{
OleInitialize(NULL);
COleObjectFactory::RegisterAll();
AfxEnableControlContainer();
return CWinApp::InitInstance();
}
Back to top
Display posts from previous:   
Forum Index -> EZNamespaceExtensionsMFC All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group