It is currently Mon Oct 14, 2019 9:06 am

All times are UTC + 1 hour

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: ListIcon custom gadgete with variable size larger images
PostPosted: Mon Jan 28, 2019 12:47 am 

Joined: Wed May 07, 2008 4:57 am
Posts: 60
Location: Adelaide, South Australia
I have been trying to develop a custom ListIcon gadget (Windows) that has two special features:

1. Each row can contain 2 or more physical rows of text. Every cell contains different text data.

2. The image (left side) can be up to 80 pixels tall. Each image is different and can be rectangular, either taller than wide or wider than tall or even square. They would be resized proportionally from the source files.

Using code I found on this forum I have been able to do #1 easily. I have also been able to produce larger images but they all come out the same width and height, which distorts the pictures (book covers). The image list function seems to require the same size for every image (see below). If the images are not exactly the same size as specified in the create image list function, they are not displayed. The control needs to hold several thousand rows with a dozen columns.

imgList = ImageList_Create_(W,H,#ILC_COLOR32, 0,#ItemCount)

Does anyone have or know of any code or tool that can offer this?

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour

Who is online

Users browsing this forum: No registered users and 13 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye