B
BlackDragon
Unregistered / Unconfirmed
GUEST, unregistred user!
CPalette* pPalette=this->GetDC()->GetCurrentPalette();
ICDrawbegin
(m_CV.hic,ICDRAW_CONTINUE|ICDRAW_HDC,(HPALETTE)pPalette->GetSafeHandle(),this->GetSafeHwnd(),
this->GetDC()->GetSafeHdc(),0,0,200,200,&m_InInfo.bmiHeader,0,0,m_InInfo.bmiHeader.biWidth,
m_InInfo.bmiHeader.biHeight,m_CV.lDataRate,m_CV.lDataRate/m_CV.lKey);
主要就是
1,pPalette=this->GetDC()->GetCurrentPalette();
2,this->GetDC()->GetSafeHdc(),
3,,(HPALETTE)pPalette->GetSafeHandle(),
4,this->GetSafeHwnd(),
哪个好人帮帮忙?把它转成 delphi.
ICDrawbegin
(m_CV.hic,ICDRAW_CONTINUE|ICDRAW_HDC,(HPALETTE)pPalette->GetSafeHandle(),this->GetSafeHwnd(),
this->GetDC()->GetSafeHdc(),0,0,200,200,&m_InInfo.bmiHeader,0,0,m_InInfo.bmiHeader.biWidth,
m_InInfo.bmiHeader.biHeight,m_CV.lDataRate,m_CV.lDataRate/m_CV.lKey);
主要就是
1,pPalette=this->GetDC()->GetCurrentPalette();
2,this->GetDC()->GetSafeHdc(),
3,,(HPALETTE)pPalette->GetSafeHandle(),
4,this->GetSafeHwnd(),
哪个好人帮帮忙?把它转成 delphi.