'Save' Dialog Box in console?

This is a discussion on 'Save' Dialog Box in console? within the Windows Programming forums, part of the Platform Specific Boards category; Hey everyone, Alright I tried a search on this and I couldn't find what I was looking for. Is there ...

  1. #1
    Registered User harryP's Avatar
    Join Date
    Sep 2002
    Posts
    124

    Question 'Save' Dialog Box in console?

    Hey everyone,
    Alright I tried a search on this and I couldn't find what I was looking for. Is there a way to display the Windows Save/Load dialog boxes in a console program? I tried a CFileDialog thing, but that didn't work (MFC specific?). Any help would be appreciated. Thanks!

    Brendan
    Draco dormiens nunquam titallandus.
    Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    CFileDialog is part of MFC.....but in reality it's a wrapper around 2 API functions - GetSaveFileName & GetOpenFileName. There are threads on this board about them, and they are also discussed on MSDN - and you canuse them in a Windows Console App

  3. #3
    Registered User harryP's Avatar
    Join Date
    Sep 2002
    Posts
    124
    Ok, thanks.

    Brendan
    Draco dormiens nunquam titallandus.
    Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Display Dialog Box Then Execute
    By stickman in forum C++ Programming
    Replies: 17
    Last Post: 05-10-2006, 11:02 AM
  2. Add a dialog box to a tab
    By axr0284 in forum Windows Programming
    Replies: 0
    Last Post: 01-10-2005, 07:38 AM
  3. edit control in dialog box problems
    By Bajanine in forum Windows Programming
    Replies: 11
    Last Post: 11-11-2002, 05:55 PM
  4. Resize Dialog Box via Code :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 10-27-2002, 10:00 PM
  5. Dialog Box & Property Sheet :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 08-01-2002, 01:33 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21