CFolderDialogImpl - SetOKText()

"dev_etech" <[email protected]>
Newsgroups gmane.comp.windows.wtl
Message-ID <[email protected]>
Hi,
First I'd like to say "big thanks" to the WTL team for this GREAT library!
I have my own BrowseForFolder C++ class but I recently decided to use the CFolderDialogImpl class in one of my WTL projects and found a small problem in the function "void SetOKText(LPCTSTR lpstrOKText)" at line #1533. I solved the problem replacing:
//::SendMessage(m_hWnd, BFFM_SETOKTEXT, (WPARAM)lpstr, 0L);
by:
::SendMessage(m_hWnd, BFFM_SETOKTEXT, 0, (LPARAM)lpstr); 
at line #1541.
It works just fine now.
Hope it helps - WTL really rocks !
Philippe Marechal



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.