CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2005
    Posts
    4

    Caption for Browse Dialog

    I'm using SHBrowseForFolder Function in an application. In the Browse dialog which pops up, i need to change the caption from "Browse For Folder" to any other.

    please help.

  2. #2
    Join Date
    Mar 2005
    Posts
    75

    Re: Caption for Browse Dialog

    You change the name in the caption of properties of the dialog in the resouces view, similar as doing with other dialog resouce.

    got it?

  3. #3
    Join Date
    Jul 2005
    Location
    E: 120°.6, N: 31°.3′
    Posts
    795

    Re: Caption for Browse Dialog

    You just want to change the caption of your "Browse" to other title .

    Say , you now have a folder with name "test" , then you want to change the title with "test" into other title , i.e : "TEST" , right ?

    Also , did you try to use this function "SetCaption" or "SetTitle" ?

    Hope that gives you some ideas.

    Cheers.

  4. #4
    Join Date
    Dec 2005
    Posts
    4

    Re: Caption for Browse Dialog

    since i'm using windows browse for folder dialog option, i have no access to the dialog through my resource. kindly help.

  5. #5
    Join Date
    Jun 2005
    Posts
    178

    Thumbs up Re: Caption for Browse Dialog

    i do it this way..
    use LPBROWSEINFO structure to pass the info to BroseForFolder
    LPBROWSEINFO lpbi = new BROWSEINFO;

    lpbi->lpszTitle = "Select Database "; //ur string to change the title
    LPITEMIDLIST tmp = SHBrowseForFolder(lpbi);


    ProElite

  6. #6
    Join Date
    Jun 2005
    Posts
    178

    Re: Caption for Browse Dialog

    is it OK now??


    ProElite

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured