Analog of Delphi's TOpenDialog and TSaveDialog...
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Thread: Analog of Delphi's TOpenDialog and TSaveDialog...

  1. #1
    Join Date
    Feb 2012
    Posts
    181

    Question Analog of Delphi's TOpenDialog and TSaveDialog...

    How execute open and save dialogs and get file names?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,352

    Re: Analog of Delphi's TOpenDialog and TSaveDialog...

    GetOpenFileName, GetSaveFileName APIs
    Victor Nijegorodov

  3. #3
    Join Date
    Feb 2012
    Posts
    181

    Question Re: Analog of Delphi's TOpenDialog and TSaveDialog...

    VictorN, where they declared? I thought in windows.h, but "identificator not found"...
    VS2008

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,352

    Re: Analog of Delphi's TOpenDialog and TSaveDialog...

    Quote Originally Posted by AKE View Post
    VictorN, where they declared? I thought in windows.h, but "identificator not found"...
    VS2008
    My old MSDN from Oct.2000 shows:
    Requirements
    Windows NT/2000: Requires Windows NT 3.1 or later.
    Windows 95/98: Requires Windows 95 or later.
    Header: Declared in Commdlg.h; include Windows.h.
    Library: Use Comdlg32.lib.
    Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000.
    How did you create your project: using AppWizard or "by hand"?
    Victor Nijegorodov

  5. #5
    Join Date
    Feb 2012
    Posts
    181

    Re: Analog of Delphi's TOpenDialog and TSaveDialog...

    VictorN
    Thanks
    AppWizard

  6. #6
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,352

    Re: Analog of Delphi's TOpenDialog and TSaveDialog...

    Well, AppWizard must have included all the necessary headers for you!
    Victor Nijegorodov

  7. #7
    Join Date
    Feb 2012
    Posts
    181

    Question Re: Analog of Delphi's TOpenDialog and TSaveDialog...

    Quote Originally Posted by VictorN View Post
    Well, AppWizard must have included all the necessary headers for you!
    Win32->Project Win32 - is it wizard?

  8. #8
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,352

    Re: Analog of Delphi's TOpenDialog and TSaveDialog...

    File -> New -> Project -> Visual C++ -> Win32 -> Win32 Project
    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
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center