I am writing a program in C++ and want add a button that when clicked opens a dialog box to allow a user to browse for a file

I am using raw C++ and the Win32 API

What functions do I need to accomplish this task? What type of controls should I use? I am used to using static, edit, button, listbox...

After the user browses to a file and selects it, I want to be able to set a text box to the file path the user chose.

I tried searching the forum and googling around for this but no luck

any help would be great

thanks