open file dialog - "add"

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • The ants are driving me crazy

    open file dialog - "add"

    The open file dialog control in Windows forms has an "Open" button. Is
    there a way to change the text of the button to something other than
    "Open"?

  • Cor Ligthert [MVP]

    #2
    Re: open file dialog - "add&qu ot;

    Hi,

    The open file dialog box uses the text from the language of the OS.

    Be aware that this is annoying for users when it is another text/behaviour
    as usual. The same as setting the brake pedal of a car right and the
    throttle left.

    I hope this gives an idea

    Cor


    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: open file dialog - "add&qu ot;

      "The ants are driving me crazy" <cwhankey@hotma il.com> schrieb:[color=blue]
      > The open file dialog control in Windows forms has an "Open" button. Is
      > there a way to change the text of the button to something other than
      > "Open"?[/color]

      I assume that this can be done using a dialog hook ('WM_INITDIALOG ').

      Extend the Common Dialog Boxes Using Windows Forms 1.x
      <URL:http://msdn.microsoft. com/library/en-us/dnwinforms/html/extensibledialo gs.asp>

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://classicvb.org/petition/>

      Comment

      • Herfried K. Wagner [MVP]

        #4
        Re: open file dialog - &quot;add&qu ot;

        "The ants are driving me crazy" <cwhankey@hotma il.com> schrieb:[color=blue]
        > The open file dialog control in Windows forms has an "Open" button. Is
        > there a way to change the text of the button to something other than
        > "Open"?[/color]

        I assume that this can be done using a dialog hook ('WM_INITDIALOG ').

        Extend the Common Dialog Boxes Using Windows Forms 1.x
        <URL:http://msdn.microsoft. com/library/en-us/dnwinforms/html/extensibledialo gs.asp>

        --
        M S Herfried K. Wagner
        M V P <URL:http://dotnet.mvps.org/>
        V B <URL:http://classicvb.org/petition/>

        Comment

        Working...