Connecting Tech Pros Worldwide Help | Site Map

how can i access activex control in MFC?

Newbie
 
Join Date: Aug 2009
Posts: 3
#1: Oct 10 '09
i am creating one simple windows form through visualstudio->visual c++->MFC->MFC Application ,only it contains one static edit(label),browse button and one button ,here i put browse button ,by right click in the dialog box ,and i select "Add ActiveX control" ,"SelectFile class" .Now i run the form it works ,but i want the path where user selected from the browse button,so the path should be display in Button ,when click "button",..here i cannot access the SelectFile class control within "buttonclick event "...help me to resolve my problem ...thank you

in screenshot ,if i click 'Virtualize' button ,in clickevent ,can i use browsepath ...ex C:\Rajakumarrs\....like..thanks in Advance
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,936
#2: Oct 10 '09

re: how can i access activex control in MFC?


This sounds more like an ActiveX specific question, and I think you'd get a better answer if you asked in an ActiveX developer forum. Try google for one :)
Reply

Tags
activex control, selectfile class, wrapperclass


Similar C / C++ bytes