 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Steve JORDI Guest
|
Posted: Sun Jul 25, 2004 4:07 pm Post subject: -> Altering a bitmap at run time? <- |
|
|
Hi,
I'm looking for a tool or a method that would allow me
to add two letters to a small generic bitmap I'm using
as an icon in a TTree.
Imagine that the icon is something like a triangle or
a square. This icon will have a name attached to it and
I wanted to add the initial of that name to the icon
itself before drawing it in the tree.
For example:
+---+ for St Petersburg
+---+ for New York
+---+ for Paris
Is this possible???
Thanks for any help.
Sincerely,
Steve JORDI
(Remove the K_I_L_LSPAM from my email address)
------------------------------------------------
1197 Prangins Email: [email]stevejordiK_I_L_LSPAM (AT) hotmail (DOT) com[/email]
Switzerland WWW: www.sjordi.com
------------------------------------------------
Volcanoes at www.sjordi.com/volcanoes
MovieDB at www.sjmoviedb.com
------------------------------------------------
|
|
| Back to top |
|
 |
Tom Guest
|
Posted: Sun Jul 25, 2004 4:54 pm Post subject: Re: -> Altering a bitmap at run time? <- |
|
|
You just need to put the image into TBitmap graphics control and draw your
text on the canvas.
"Steve JORDI" <stevejordiK_I_L_LSPAM (AT) hotmail (DOT) com> wrote
| Quote: | Hi,
I'm looking for a tool or a method that would allow me
to add two letters to a small generic bitmap I'm using
as an icon in a TTree.
Imagine that the icon is something like a triangle or
a square. This icon will have a name attached to it and
I wanted to add the initial of that name to the icon
itself before drawing it in the tree.
For example:
+---+ for St Petersburg
|SP |
+---+
+---+ for New York
|NY |
+---+
+---+ for Paris
|PA |
+---+
Is this possible???
Thanks for any help.
Sincerely,
Steve JORDI
(Remove the K_I_L_LSPAM from my email address)
------------------------------------------------
1197 Prangins Email: [email]stevejordiK_I_L_LSPAM (AT) hotmail (DOT) com[/email]
Switzerland WWW: www.sjordi.com
------------------------------------------------
Volcanoes at www.sjordi.com/volcanoes
MovieDB at www.sjmoviedb.com
------------------------------------------------
|
|
|
| Back to top |
|
 |
Steve JORDI Guest
|
Posted: Sun Jul 25, 2004 6:12 pm Post subject: Re: -> Altering a bitmap at run time? <- |
|
|
Ah? Ok it's as simple as that? Good.
I'll try this.
Thanks for your help.
Steve
On Sun, 25 Jul 2004 11:54:58 -0500, "Tom" <tboser (AT) netzero (DOT) net> wrote:
| Quote: | You just need to put the image into TBitmap graphics control and draw your
text on the canvas.
|
Sincerely,
Steve JORDI
(Remove the K_I_L_LSPAM from my email address)
------------------------------------------------
1197 Prangins Email: [email]stevejordiK_I_L_LSPAM (AT) hotmail (DOT) com[/email]
Switzerland WWW: www.sjordi.com
------------------------------------------------
Volcanoes at www.sjordi.com/volcanoes
MovieDB at www.sjmoviedb.com
------------------------------------------------
|
|
| Back to top |
|
 |
|
|
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 You cannot vote in polls in this forum
|
|