This is rather a lame question, but can anyone help me change the properties of controls. My problem is I cant set the length of maximum characters that my edit box could handle. Im using visual C++ 6.0.
Thanks for the reply. Hmmmm, well Im just starting learning workarounds on visual c++. Could you give me sample codes on how to change/set properties of controls such as edit box? I really appreciate your reply.
Could you be more specific? What do you want to change? Check out the CEdit member functions on MSDN if you want to know what all you can change, or use intellisense to see what's available.
Oops sorry I thought I have sent my last updated reply. Well, I figured out what I want to do shortly after I post my last message, I was suppose to send new message but I guess it had an error didnt send it. Now, I have an edit box(IDC_E1) that could only accept 5 chars. I also had a button(IDC_B1) that pass character 'a' on my edit box. The problem is when I use my IDC_B1 and click them more than 5 times, my IDC_E1 can exceed more than 5 characters. What I want is to limit my IDC_E1 to 5 characters whether I type to it, or use my IDC_B1.Anyway, what I did is I just manually check the length of the edit box. Is there a better way to do it? Thanks again for the reply.
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.