Graphics in C++ Builder6 (PNG Files)

Discussion in 'C++' started by Thad, Sep 14, 2004.

  1. Thad

    Thad Guest

    I am using C++ Builder 6.

    I am trying to use a PNG file (installed a component that gives the
    png option) on a form. It displays fine.

    The problem is, when i try and stretch the image (stretch set to
    true), only the image box, not the image itself stretches and I dont
    know why. Works fine with bmp files.

    if there is not a solution to the above... My objective with the png
    graphic files is to use them as panels.. The panels that come with
    Builder are rectangular and boring. I want to find a component that
    gives the ability to round the corners and give a larger variety of
    color options.

    If you know of this type of component, please let me know.

    Any thoughts?
    Thanks!
    Thad, Sep 14, 2004
    #1
    1. Advertising

  2. Thad wrote:
    > I am using C++ Builder 6.
    >
    > I am trying to use a PNG file (installed a component that gives the
    > png option) on a form. It displays fine.
    >
    > The problem is, when i try and stretch the image (stretch set to
    > true), only the image box, not the image itself stretches and I dont
    > know why. Works fine with bmp files.
    >
    > if there is not a solution to the above... My objective with the png
    > graphic files is to use them as panels.. The panels that come with
    > Builder are rectangular and boring. I want to find a component that
    > gives the ability to round the corners and give a larger variety of
    > color options.
    >
    > If you know of this type of component, please let me know.
    >
    > Any thoughts?
    > Thanks!

    Graphics are not supported by the C++ language are a platform
    specific issue. A very good idea is to search a Borland newsgroup
    and perhaps even post your query there. For more information,
    read the welcome.txt message below.

    --
    Thomas Matthews

    C++ newsgroup welcome message:
    http://www.slack.net/~shiva/welcome.txt
    C++ Faq: http://www.parashift.com/c -faq-lite
    C Faq: http://www.eskimo.com/~scs/c-faq/top.html
    alt.comp.lang.learn.c-c++ faq:
    http://www.comeaucomputing.com/learn/faq/
    Other sites:
    http://www.josuttis.com -- C++ STL Library book
    Thomas Matthews, Sep 14, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Leor Zolman
    Replies:
    0
    Views:
    380
    Leor Zolman
    Nov 12, 2003
  2. Henrique O. Santos

    DLL in C++Builder6

    Henrique O. Santos, Feb 6, 2004, in forum: C++
    Replies:
    1
    Views:
    446
    Victor Bazarov
    Feb 6, 2004
  3. Miguel Angel Polo

    using OpenGL from Borland Builder6

    Miguel Angel Polo, Apr 16, 2004, in forum: C++
    Replies:
    3
    Views:
    434
    Petec
    Apr 16, 2004
  4. Thad
    Replies:
    1
    Views:
    312
    Victor Bazarov
    Sep 14, 2004
  5. efrenba
    Replies:
    3
    Views:
    278
    Thomas J. Gritzan
    Jun 5, 2009
Loading...

Share This Page