Results 1 to 3 of 3

Thread: What, exactly is a handle?

  1. #1

    Thread Starter
    Hyperactive Member Al Smith's Avatar
    Join Date
    May 1999
    Location
    Marcellus, MI. USA
    Posts
    330

    Post

    What exactly is a handle to a form, textbox, etc.?
    Is it an address?
    An offset in some code?
    A pointer to the entry point of a DLL?
    Or something completely different?
    Thanks,
    Al.



    ------------------
    A computer is a tool, not a toy.
    <A HREF="mailto:[email protected]
    [/EMAIL]


    [email protected]">[email protected]


    [EMAIL]
    [email protected]</A>

  2. #2
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923

    Post

    It's something to open a door...

    But in Windows, it's an identifyer for anything that is on the screen, be it forms, texboxes, combo, picture, everything has a handle apart from things like a label.

  3. #3
    Hyperactive Member
    Join Date
    Jun 1999
    Posts
    308

    Post

    Windows enumeretes any visual components created by applications and keeps it parameters in a special table in the memory.

    So this handler is a identifier for the object and gives you an access to this object in the memory. You can say it is a pointer ( in C++ terms).

    And chrisjk!

    Label originaly has a handler (as soon as it is a visual object), it just not accessable directly in VB.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width