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.
Printable View
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.
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)