Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: 7811301130
  • Order by date
  1. 7811301130

    What's with my source code

    Maybe the problem is here, DrawA.SelectObject(CreatePen(PS_SOLID,0,ColorPen)); you can't release the CPen resource, do as below: CPen pen(PS_SOLID,0,ColorPen); CPen* pOldPen=DrawA.SelectObject(&pen); . . . DrawA.selecObject(pOldPen);(after you end your drawing operation,restore the old pen)

Part and Inventory Search

Back
Top