CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 1999
    Location
    India
    Posts
    4

    SHBrowseForFolder title(Urgent)



    hi ,

    I am using SHBrowseForFolder for a directory selection . The problem

    is , the dialog title is "Browse for folder" which I don't want . I want

    to put my own title . Is there any way to do this ?


    Thanks


    sankar




  2. #2
    Join Date
    Mar 1999
    Posts
    8

    Re: SHBrowseForFolder title(Urgent)



    Try using SetWindowText("Your Text Here"); on the dialog



  3. #3
    Join Date
    Aug 2001
    Location
    WA, Bellevue, USA
    Posts
    86

    Re: SHBrowseForFolder title(Urgent)

    typedef struct _browseinfo {
    HWND hwndOwner;
    LPCITEMIDLIST pidlRoot;
    LPTSTR pszDisplayName;
    LPCTSTR lpszTitle;
    UINT ulFlags;
    BFFCALLBACK lpfn;
    LPARAM lParam;
    int iImage;
    } BROWSEINFO;

    static TCHAR* pTitle = _T("Sankar is the best");
    BROWSEINFO bi;
    bi.lpszTitle = pTitle



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