Painting a close button within Aphaskins theme

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36037
    Pete Williams
    Participant

    Hi

    I have a requirement to have a PageControl tab that has multiple lines of text, and a close button.

    The demo for ownerdraw has been great. I have been able to draw a close button, and get the clicked event, but the close button isn't theme aware and looks a little out of place.

    Does anyone know how to properly render this, or know an example.

    The standard alphaskins tab control would be perfect if it allowed for multiple lines of text.

    Cheers, Pete

    #51549
    Support
    Keymaster

    Hello!

    This demo can show how to extract and draw glyphs from the current skin:

    http://www.alphaskin…xtractimage.zip

    More demo apps there:

    http://www.alphaskins.com/ademos.php

    I will try to make a wrapping of text in tabs (which have changed TabWidth property) soon.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.