The decimal value for the RETURN or ENTER key is 13.
In C a new line can be char '\n' which in text mode is a line feed and a cariage return so a 10 and a 13.
'\r' is a cariage return (without a line feed).
Use the Class Wizard to create a class using CRecordset as the base class. This will allow you to create a class based on your table. The Wizard will guide you thru this. Then use this new class where you are using CRecordset. You will have to #include the header for your new class you created...
I hope you can get your text from the edit box...
To get it to the MSFlexGrid you can use the SetTextMatrix() member function.
In this example:
The variable name I have associated with my flex grid is m_chrg_grd
I am using a (int) variable 'current_row' for the row I want to write to and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.