CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2004
    Posts
    118

    Browse for File Win32 API

    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

  2. #2
    Join Date
    Jan 2007
    Posts
    38

    Re: Browse for File Win32 API

    You are looking for this: Open and Save As Dialog Boxes. You're welcome.
    I am a beginning C++ Win32 programmer with LOTS of questions. Hopefully matching answers can be found here...

  3. #3
    Join Date
    Sep 2004
    Posts
    118

    Re: Browse for File Win32 API

    thanks. that was just what i was looking for

  4. #4
    Join Date
    Apr 2013
    Posts
    1

    Re: Browse for File Win32 API

    Browse for File Win32 API
    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

  5. #5
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Browse for File Win32 API

    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured