Thread View: borland.public.cppbuilder.database.ado
2 messages
2 total messages
Started by ������
Tue, 26 Dec 2000 11:41
AnsiString and char
Author: ������
Date: Tue, 26 Dec 2000 11:41
Date: Tue, 26 Dec 2000 11:41
8 lines
1331 bytes
1331 bytes
When I want to get a char from a AnsiString and use function SendMessage(hwndEdit,WM_CHAR,char,0) to enter a char to a TEdit component,I find if the AnsiString include single-byte char and milti-byte char,I couldn't use cirlce sentence to enter all chars one by one into the TEdit component exactly.but I can use SendMessage(hwndEdit,WM_CHAR,'��',0) to enter a milti-byte exactly.How can I get right milti-byte char from a AnsiString exactly.I have tried using AnsiString.WideChar() method and failed.Who can help me? Thanks a lot.
Re: AnsiString and char
Author: Mark Cashman
Date: Wed, 27 Dec 2000 23:02
Date: Wed, 27 Dec 2000 23:02
17 lines
1535 bytes
1535 bytes
Unfortunately, no one here can help, since the database.ado group is focused on the ADOExpress component set. Check in the .language or .winapi group, depending on whether your question is more focused on the use of such strings in C++ or in calling Windows. I hope this is of some assistance, ------ Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at http://www.temporaldoorway.com - Original digital art, writing, music and more - C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring (Join us!) http://www.temporaldoorway.com/programming/index.htm ------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads