|
-
Aug 2nd, 2001, 01:01 AM
#1
Thread Starter
Addicted Member
resize picture in flexgridcell
Hello there,
Since this is also the graphics programming corner I think this question belongs here.
This may be an easy question but how do I resize e picture that is in a cell of a flexgrid??
I need to show many pictures (I develop some sort of thumbnail viewer) but I always get the 'Out of memory' error when creating too many imageBoxes...So I searched the web and found out you can store pictures in a flexgrid. COOL! now I use only one control for many pictures, but...I can't manage to resize them...the cells of a flexgrid have no strech property or something like that.
Can someone help me out? I want to shrink the picture so it fits in a cell !
Thanks for your help!
Christophe
-
Aug 2nd, 2001, 09:39 AM
#2
Good Ol' Platypus
If the cells have hDCs or better yet (maybe...) have the paintpicture option in them, use that to resize them to your liking. If they have hDCs, use the StretchBlit API.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|