Results 1 to 3 of 3

Thread: Icon size

  1. #1

    Thread Starter
    New Member Graymalkin's Avatar
    Join Date
    Jan 2001
    Location
    Rio de Janeiro, Brazil
    Posts
    7

    Icon size

    I need icons with size 13x13 for insert them in a menu, so how do I stretch icons to this size? I've tried StretchBlt with no success.

    Thanks for any help.

    Graymalkin
    Why bother?

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Make 13x13 icons and put them in a picture box. If you want to stretch them some graphic tool.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3
    Megatron
    Guest
    You could use the ImageList control to size and or convert an image to an icon.
    VB Code:
    1. ImageList1.ImageHeight = 13
    2. ImageList1.ImageWidth = 13
    3. ImageList1.ListImages.Add , , Picture1.Picture
    4. Set Picture2.Picture = ImageList1.ListImages(1).ExtractIcon

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