Board index » delphi » Handle of TImage object

Handle of TImage object

I became forums.Borland {*word*60},
I can't write my programs without
this newsgroups - so I can't leave
you alone :)))

Therefore help the {*word*60} !

Is it somehow possible
to get handle of TImage object.

Anyway there is some controls
that don't have handle available
to users. How to refer to such
object when using API since
API often need Handles?

Is it possible to find and add handle
to such objects - to assign new
property ?

Thanks

 

Re:Handle of TImage object


Petar Banicevic <peta...@geocities.com> wrote in article
<69qv3k$g4...@forums.borland.com>...

Quote
> Is it somehow possible
> to get handle of TImage object.

TImage does not have a handle, since it is not a Windows control. The image
itself can have a handle (e.g. Image.Picture.Bitmap.Handle), which is not a
window handle, but a bitmap or icon handle. You could also access
Canvas.Handle, which is the handle to the device context on which the image
is drawn.
--
Yorai Aminov
El-On Software Systems
http://ourworld.compuserve.com/homepages/yaminov

Other Threads