Creating Thumbnails using CBuilder3

Posted on 1999-06-26
Medium Priority
Last Modified: 2010-04-02
I'm using CBuilder3 and in the help section it talks about using TButton, TBitBtn, TSpeedButton within the ScrollBox Component. They don't show an example, Can a CBuilder3 expert show an example that could be used for creating thumbnails using atree directory, ScrollBox component, and one of the button components.  thanks
Question by:Right
1 Comment
LVL 10

Accepted Solution

viktornet earned 210 total points
ID: 1198553
well, you don't need a ScrollBoc in order to create a thumbnail..... you can simply use a TImage component and set its AutoSize property to false and its Stretch pro[erty to true.... now the only thing left for you to do is to set the width and height., you can take the ratio of the original width and height and adjust the thumbnail accordingly..

you can also use StretchBlt() if you'd like to stretch the image by yourself.. it's a WIN API just so you know....


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question