You are viewing articles in the Graphics category &rarr


How to Use Animated Cursors in Your Programs

Posted December 15th @ 7:00 pm by m3Rlin

Animated cursors have become very popular in the days of Windows 3.x. Now they have become a part of Windows 95 and newer. Sometimes you might want to use your own animated cursors instead of the user’s. The idea is same as with “normal” cursors.
Here’s the code:

const
btCursorID1 = 1;
begin
(* sCursorFile - [...]

How to Print Images

Posted December 15th @ 1:49 pm by m3Rlin

Sometimes you want to print an image in Delphi but the TImage component doesn’t have any printing methods. Well, the solution is quite easy. All you have to do is draw on the printers Canvas. This sample code should give you the idea.
The first procedure will print only Bitmap images and will scale the image [...]

Next Entries »