changing text color in edit box

W

wayne

Dear All,

i still cant solve it. i have attached a sample of my program. how can
i change the number in the edit box to other color when i click OK
button?

thanks alot....
wayne

*Dear all,

how can i change the text color in an edit box? apparently, my edit
box variables are classified as CString so that i m able to output
decimal point number.

i knew that SetTextColor is one of the command to do it, but the
error i got when i compile it is that SetTextColor is not a member of
CString. Hence, i would like to know with CString, wat is the command
that allows me to change the text color...

thanks alot *


+----------------------------------------------------------------+
| Attachment filename: editcolor.zip |
|Download attachment: http://www.codecomments.com/attachment.php?postid=1562354 |
+----------------------------------------------------------------+
 
T

thatsalok

wayne said:
*Dear All,

i still cant solve it. i have attached a sample of my program. how
can i change the number in the edit box to other color when i click
OK button?

thanks alot....
wayne *

Here is your attached example


+----------------------------------------------------------------+
| Attachment filename: changeeditcolor.zip |
|Download attachment: http://www.codecomments.com/attachment.php?postid=1562360 |
+----------------------------------------------------------------+
 
T

thatsalok

wayne said:
*Dear All,

i still cant solve it. i have attached a sample of my program. ho
can i change the number in the edit box to other color when i clic
OK button?

thanks alot....
wayne *

Here is your attached Exampl

+----------------------------------------------------------------
| Attachment filename: changeeditcolor.zip
|Download attachment: http://www.codecomments.com/attachment.php?postid=1562361
+----------------------------------------------------------------

-
thatsalo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top