I am creating a simple Windows form through Visual Studio->Visual c++->MFC->MFC Application. It only contains one static edit (label), a browse button and one button. Here I put a browse button by right clicking in the dialog box and I selected "Add ActiveX control", "SelectFile class".
Now when I run the form it works, but I want the path where the user selected from the browse button, so the path should be displayed in Button, when clicking "button". Here I cannot access the SelectFile class control within "buttonclick event".
Help me to resolve my problem. Thank you.