CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    Raleigh, NC
    Posts
    47

    GetSaveFileName Parameters

    I can't figure out how to use this function. Any help would be greatly appreciated.


  2. #2
    Join Date
    May 1999
    Location
    Raleigh, NC
    Posts
    47

    Re: GetSaveFileName Parameters

    I've got this so far: But how do I make the dialog appear?
    OPENFILENAME filename;

    LPCTSTR Filter = "*.txt";
    LPSTR InitialDir = "c:\\";
    LPSTR DefExt = "*.txt";
    filename.lpstrFilter = Filter;
    filename.lpstrInitialDir = InitialDir;
    filename.lpstrDefExt = DefExt;
    OPENFILENAME *filepoint = &filename;
    GetSaveFileName(filepoint);


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