Question

How can i add a submit button to an Edit Box in MFC(VC++). Similar to "Search Edit Box" in Windows Explorer or File Open Dialog in MS Office Applications.

Please suggest

Was it helpful?

Solution

If you are using Visual Studio 2008 SP1 or newer, you can use CMFCEditBrowseCtrl. It's an Edit control with a button. You can customize the button image as well as the behaviour when the user clicks the button.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top