Posted by Hans Salvisberg on 1999-12-04 23:14 CET
(In reply to: CPEdit
posted by Moritz Kobel on 1999-12-04 22:35 CET)
|
[The question is how to extract the entire line (including spaces) from an edit control.] Es funktioniert gleich wie bei jedem Input-Stream (z.B. cin): char buf[50]; CPEdit edit( dialog, IDC_Test, sizeof( buf ) - 1 ); edit.text().getline( buf, sizeof( buf ) ); edit.text() ist ein iostream und alles weitere macht die Borland Library. |
|
Copyright © 2010 Salvisberg Software & Consulting. All rights reserved. |
Top |