Just stumbled on something new (for me at least new) but could someone tell me what the following would mean from the language reference:


Graphics.Handle Property


 Read-Only

Syntax
Handle as Integer


Parameter is Type as Integer. Gets the OS Handle for the passed Type.

Pass a Graphics class constant to specify the Type. The class constants are as follows:

1-HandleTypeHDC. Gets the HDC on Windows.

2-HandleTypeCGrafPtr. Gets the QuickDraw CGrafPtr on Macintosh.

3-HandleTypeGdkDrawablePtr. Gets the GdkDrawable * on Linux.

4-HandleTypeGdkGCPtr. Gets the GdkGC * on Linux.

Handle will return zero if the requested handle Type is not available or is not supported.



How do you get the OS Handle by passing the graphics class constant? It is a property right? so where can you pass the requested handle type?

I would like to use it in dynamic access, and if one can get the handle lots of new things can be done,



Alfred_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to