Results 1 to 3 of 3

Thread: [2005] Custom TabControl

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,521

    [2005] Custom TabControl

    I am trying to draw a custom tab control. What I need is to be able to create different sizes for the tabs. I can do it easily if I want them the same size.

    I've tried changing the ItemSize of the tabcontrol in the DrawItem event, but that made the control very unhappy. I also looked at the events of the tab page and I didn't see anything there that would do it.

    Any help would be great. Thanks.

    Edit:
    I know that setting the sizemode to Normal will make it the size of the text. But what I want to do is if the text is larger than a certain amount it will only show part of it, unless it is selected, then it will show the entire text.
    Last edited by mpdeglau; Jul 24th, 2006 at 10:34 AM. Reason: Added more info
    Visual Studio Team Edition 2005
    GDI+ Links: Bob Powell VB.Net Heaven
    API Links: All API Pinvoke.Net
    VB6 to VB.Net: Visual Basic 6 to .NET Function Equivalents (Thread)

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