PDA

Click to See Complete Forum and Search --> : Retrieving Object Handles


YoungBuck
Nov 26th, 2000, 09:04 PM
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.

YoungBuck
Nov 27th, 2000, 01:28 AM
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)