Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

file open/save dialog

  • 01-07-2004 10:11am
    #1
    Registered Users, Registered Users 2 Posts: 1,368 ✭✭✭


    Hey guys,

    Still working on my win32 application.

    I'm trying to allow for the opening and saving of files within the application.

    There seems to be a lot of stuff on google for MFCs, but is there an easy way to pop up the file-open dialog in win32. And a simple way to pop up a file save dialog?

    Any advcice much appreciated!

    King


Comments

  • Registered Users, Registered Users 2 Posts: 7,468 ✭✭✭Evil Phil


    Coming from a VB point of view but comdlg32.dll has a GetSaveFileName function and a GetOpenFileName function that should open the dialogs you want. They both take an OPENFILENAME stucture as an argument.

    Here's the Common Dialog skinny on MSDN.


  • Registered Users, Registered Users 2 Posts: 1,368 ✭✭✭king_of_inismac


    Thanks man,

    Thats exactly what I'm looking for!

    Cheers!


Advertisement