I have a text box and it is in square form now I want to convert that square into oval shape
i am using win forms application
can any one tell any idea about this
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the
SetWindowRgnAPI Function to change the shape of a window.This function – as you can see here – gets three arguments:
HandleProperty.You can subclass from
TextBoxand create a Oval shaped TextBox by using this functions inOnHandleCreatedMethod. The class can be something like this: