Divil
Well-known member
- Joined
- Nov 17, 2002
- Messages
- 2,748
Before you use GDI objects on a dc, you have to select them in to it. If you want to use a pen, bitmap, brush or whatever, you select them in to the device context with SelectObject. That api returns a handle to the last object, which you should always restore when youre done using SelectObject again.