Results 1 to 3 of 3

Thread: Rounded TextBox

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2006
    Posts
    91

    Rounded TextBox

    Hai

    i am working with winforms using C# 2005. i need to have Rounded Corner textbox control without any thirdparty dlls.


    Thanks and Regards
    Vinay Kumar

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Rounded TextBox

    Then you're going to have to inherit the Button class and handle the drawing yourself. You're going to have to do some research on authoring and drawing your own controls. This is a far from simple topic because to do it properly you will have to implement visual styles. My guess is that this is one of the many cases of a beginner being more concerned with their application looking fancy than actually learning the basics of programming. I think that your time could be much better spent, but what you do is obviously up to you.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Rounded TextBox

    or you can use CreateRoundRectRgn API for the same.
    Last edited by Harsh Gupta; Dec 8th, 2006 at 04:59 PM.
    Show Appreciation. Rate Posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width