IPaddress control-please help me
-
i want to check greater than 255 value in ipaddress field but when i enter value greater than 255 it automatically change to 255 at that time i cant get what i typed.so i cant check greater than 255 value.how can i do that
-
when the user type greater then 255 i want to post a error message. In windows Local area Connection wizard display this kind of message.i want to do that like this.
Hi, The one way could be by customizing the CEdit control using mask. You create ur own IPAddress control class, in which u can handle all validations as per your requirement.
Manoj Never Give up
-
i want to check greater than 255 value in ipaddress field but when i enter value greater than 255 it automatically change to 255 at that time i cant get what i typed.so i cant check greater than 255 value.how can i do that
prathuraj wrote:
when i enter value greater than 255 it automatically change to 255 at that time
If you are using a SysIPAddress32 window class (
CIPAddressCtrl
if using MFC), this is done automatically.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne