Results 1 to 2 of 2

Thread: Retrieving Object Handles

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987
    Anybody know any functions that will return the handle of objects currently in use by a Device Context, i.e. the current brush, pen, etc.
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987
    Figured it out.... SelectObject returns the handle of the last object of the same kind (i.e. if you are selecting a Brush into a DC then the return value is the previous brush)
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

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