//pDC->DrawState(0,
// 32,
// CComLib::GetIconHandle("premonth.ico"),
// DSS_NORMAL),
// (CBrush*)NULL);
//BITMAP bmBk;
//BITMAP bmMask;
//m_bmpBk.GetBitmap(&bmBk);
//m_bmpMask.GetBitmap(&bmMask);
//CDC dcBk;
//CDC dcMask;
//dcBk.CreateCompatibleDC(pDC);
//dcMask.CreateCompatibleDC(pDC);
//CBitmap* pOldBitmap = dcBk.SelectObject(&m_bmpBk);
//CBitmap* pOldMaskBitmap=dcMask.SelectObject(&m_bmpMask);
//
//
//BLENDFUNCTION bfun;
//bfun.BlendOp = AC_SRC_OVER;
//bfun.BlendFlags=0;
//bfun.SourceConstantAlpha = 200;
//bfun.AlphaFormat=AC_SRC_OVER;
//pDC->BitBlt(0,0,bmBk.bmWidth,bmBk.bmHeight,&dcBk,0,0,SRCCOPY);
//pDC->AlphaBlend(0,0,bmBk.bmWidth-2,bmBk.bmHeight-2,&dcMask,0,0,bmMask.bmWidth,bmMask.bmHeight,bfun);
//dcBk.SelectObject(pOldBitmap);
//dcMask.SelectObject(pOldMaskBitmap);
// 32,
// CComLib::GetIconHandle("premonth.ico"),
// DSS_NORMAL),
// (CBrush*)NULL);
//BITMAP bmBk;
//BITMAP bmMask;
//m_bmpBk.GetBitmap(&bmBk);
//m_bmpMask.GetBitmap(&bmMask);
//CDC dcBk;
//CDC dcMask;
//dcBk.CreateCompatibleDC(pDC);
//dcMask.CreateCompatibleDC(pDC);
//CBitmap* pOldBitmap = dcBk.SelectObject(&m_bmpBk);
//CBitmap* pOldMaskBitmap=dcMask.SelectObject(&m_bmpMask);
//
//
//BLENDFUNCTION bfun;
//bfun.BlendOp = AC_SRC_OVER;
//bfun.BlendFlags=0;
//bfun.SourceConstantAlpha = 200;
//bfun.AlphaFormat=AC_SRC_OVER;
//pDC->BitBlt(0,0,bmBk.bmWidth,bmBk.bmHeight,&dcBk,0,0,SRCCOPY);
//pDC->AlphaBlend(0,0,bmBk.bmWidth-2,bmBk.bmHeight-2,&dcMask,0,0,bmMask.bmWidth,bmMask.bmHeight,bfun);
//dcBk.SelectObject(pOldBitmap);
//dcMask.SelectObject(pOldMaskBitmap);