RE: CFolderDialogImpl - SetOKText()
"Nenad Stefanovic" <[email protected]>
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <000301c9f2b4$1e3a44a0$5aaecde0$@com> |
Hi Philippe, Thank you for both your kind words and the bug report. Indeed, you are right, string should be passed as lParam. This will be corrected. Cheers, Nenad From: [email protected] [mailto:[email protected]] On Behalf Of dev_etech Sent: Saturday, June 20, 2009 1:09 PM To: [email protected] Subject: [wtl] 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 [Non-text portions of this message have been removed] ------------------------------------ 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/