Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Windows Develop Other
  • Category : Other
  • Tags :
  • Update : 2012-11-26
  • Size : 396kb
  • Downloaded :0次
  • Author :落*****
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
void CDopicDlg::OnBnClickedQuse() { // TODO: 在此添加控件通知处理程序代码 CDC* m_dc CRect m_rect m_pic.GetClientRect(m_rect) m_dc = m_pic.GetDC() int r1,g1,b1,r2,g2,b2 for (int i = 1 i<m_rect.right+1 i++) for (int j = 1 j< m_rect.bottom+1 j++) { COLORREF color = m_dc->GetPixel(i,j) double m_gray r1 = GetRValue(color) g1 = GetGValue(color) b1 = GetBValue(color) m_gray = (0.38*r1+0.49*g1+0.1*b1) color = RGB(m_gray,m_gray,m_gray) m_dc->SetPixel(i,j,color) } }
Packet file list
(Preview for download)
mfc.doc
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.