Announcement

Collapse
No announcement yet.

File dialog box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • File dialog box

    Any Windows program that i know uses to open and save files about the same dialog box.
    Is this a ready to use device like ChooseColor and Choosefont, and if so what is its name ?
    I searched for this, but could not find it, nor examples of its use, which usually means that it is not easy.
    Can anyone give me a hint, or refer me to an example ?

    Arie Verheul

  • #2
    OpenFileDialog and SaveFileDialog, both in the sane include file than ChooseColor and Choosefont: ComDlg32.inc.

    And, if you have the new compilers, then look for DISPLAY OPENFILE and DISPLAY SAVEFILE.
    Forum: http://www.jose.it-berater.org/smfforum/index.php

    Comment


    • #3
      >OpenFileDialog and SaveFileDialog

      These are PB-created 'wrapper' functions for the Windows GetOpenFileName and GetSaveFileName functions

      If you want more control than offered by PB (eg Explorer-Style hook Procedures for OpenFileDialog and SaveFileDialog 3-31-07) you'll have to use the WinApi Calls.

      (Oops, forgot, I rewrote the wrapper functions for you in that demo).

      MCM
      Michael Mattias
      Tal Systems (retired)
      Port Washington WI USA
      [email protected]
      http://www.talsystems.com

      Comment


      • #4
        Thanks

        Great, it works very nice and handy.
        Thanks very much.

        Arie Verheul

        Comment

        Working...
        X