CFileDialog : save button change to open

Hi

My class inherited from CFileDialog .

When I open the dialog at Save mode and I select any item the button of the ‘Save’ become to ‘Open’

It’s reproduce on Win XP only .

Does anyone know how to fix this issue



Answer this question

CFileDialog : save button change to open

  • Exploder

    You are right , it’s change to open at directory.

    My custom dialog show specific project directory with my own icon.

    When users select any other directory on save mode –> it’s means that he wants to overwrite on this folder .

    There is any way to change this default behavior

    I try to SetWindowText() to the IDOK from open to save but it works only after the first time .

    Does anyone know about better solution


  • WarrenT

  • khaladu

    Continuing previous reply, it will change to open in case on directory only, if not, can you post code you are trying
  • xRuntime

    I think it only changes only when you select a directory.


  • CFileDialog : save button change to open