Results 1 to 2 of 2

Thread: Shape question

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2000
    Location
    Netherlands
    Posts
    128

    Shape question

    Hi all,

    I need to put an triangle shape on my form but the normal shape's are square, circle and oval.
    I could draw one with some line's but in need change the fillcolor.


    Who can help?


    thanks in advance
    Remember Programmers don't sleep

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    A couple of API calls for you ...

    You can draw a triangle with :
    CreateEllipticRgn
    and fill it with
    GradientFillTriangle

    Don't ask me how to use these, www.allapi.net or www.vbapi.com or the api forum on this site might help you, but this is what I think you need to look at.
    Cheers

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

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