※ 함수의 원형 HGDIOBJ GetStockObject( int fnObject ); HGDIOBJ SelectObject( HDC hdc , HGDIOBJ hgdiobj ); HPEN CreatePen( int fnPenStyle , int nWidth , COLORREF crColor ); /******************************************************************************** ... ... ① 변수선언 HBRUSH MyBrush; HBRUSH OldBrush; HPEN MyPen; HPEN OldPen; ... ... ② 새 브러쉬, 팬을 생성 MyBrush = (HBRUSH)GetStockObject(GRAY_BRUSH); MyPen = ..