'버튼 투명'에 해당되는 글 1건

  1. 2007/09/01 vc++ 버튼 투명화시켜도 바닥색(Gray)이 나올때는...
//머라 이름을 정하기가 좀 그래서 그렇지만...-0-;;;
//버튼에 투명을 지정하였는데도 투명지정된곳의
//색이 빠지고 바닥색..음..회색으로 계속 남아있을때는
// 아래의 CtlColor 이라는 함수를 추가하여
// (HBRUSH)::GetStockObject(NULL_BRUSH) 이놈을 리턴시키면 된당...
HBRUSH CtlColor(CDC* pDC, UINT nCtlColor)
{
    // TODO: Change any attributes of the DC here
   
    // TODO: Return a non-NULL brush if the parent's handler should not be called
    //return NULL;
    return (HBRUSH)::GetStockObject(NULL_BRUSH);
}
2007/09/01 22:16 2007/09/01 22:16