×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    24

    How to load images to a listbox as icons

    Hi,

    I have a set of jpeg images on my Images folder. I have to set is as icons to my listbox. I know how to load MBM files as icons. But i am wondering how to set a jpeg file to a list. Can anybody suggest how to do that. A piece of working code will be helpful..

    Regards,
    Binu Baby Kurian

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037
    Hi, you have 2 possibilites

    a) on AVKON you have some classes, which support manipulating with pictures in picture album, look closer on those classes:
    CPAlbImageUtil
    CPAlbImageData

    especially on GetThumbnailL() method, it was discusses many times here...

    b) use Media server ( on 6.1) or ICL( on 7.0s anu upper ) and its scaler and decorer classes to create small images, which should be used in listbox.
    Bye
    STeN

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×