thanks. I'll fix up my code before forwarding to Rob. I'll see if I
can figure out why final workaround worked. Since the fix didn't
involve reducing to 16x16 it seems strange. The fix involved adding
varying amounts of whitespace to the left of the image. The
thumbnails I ended up with were about 45x60 pixels.
john kubie
On Aug 30, 2007, at 3:47 PM, joe at strout dot net wrote:
> On Aug 30, 2007, at 19:01 UTC, John Kubie wrote:
>
>> I've written a listbox with thumbnails in its leftmost column.
>>
>> I did find what I think is a bug in the listbox display of the
>> thumbnail images. The location wasn't where I thought it should be. I
>> was able to fix it by trial-and-error. But, before I did the fix,
>> most of the thumbnail images were out of sight.
>
> You're using RowPicture; that's intended for little 16x16 item icons
> next to the names, not for thumbnails. So this is not a bug, just not
> intended for what you have in mind. Draw thumbnails yourself in the
> CellTextPaint event.
>
> Best,
> - Joe
>
> --
> Joe Strout -- joe at strout dot net
> Strout Custom Solutions, LLC
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|