20 Jun 22:09
CFolderDialogImpl - SetOKText()
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:wtl-digest@...
mailto:wtl-fullfeatured@...
<*> To unsubscribe from this group, send an email to:
wtl-unsubscribe@...
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
RSS Feed