
October 29th, 2006, 06:57 PM
|
|
Contributing User
|
|
Join Date: Feb 2005
Posts: 32
![DarkLord[] User rank is Corporal (100 - 500 Reputation Level)](http://images.devshed.com/fds/reputation/reputation_green.gif) ![DarkLord[] User rank is Corporal (100 - 500 Reputation Level)](http://images.devshed.com/fds/reputation/reputation_green.gif) ![DarkLord[] User rank is Corporal (100 - 500 Reputation Level)](http://images.devshed.com/fds/reputation/reputation_green.gif)
Time spent in forums: 19 h 9 m 56 sec
Reputation Power: 10
|
|
|
Using queries from MySQL with newlines.
I'm working on an application that uses MySQL, and in one part the result from a query has newlines in it ("\r\n"). I have a edit control which I configured as multiline. when I use SetDlgItemText(hwnd, IDC_MYBOX, "text\r\ntext") it works, but SetDlgItemText(hwnd, IDC_MYBOX, row[0]).
Is there something I need to do?
|