TransparentBlt
摘要:TransparentBltWinCE 下TransparentBlt函数不能进行伸缩,源DC与目标DC的宽和高需要一样,否则不能过滤掉最后一个参数指定的颜色
阅读全文
About Custom Draw /MFC
摘要:Custom Draw不是一个通用控件,而是一个许多控件提供的服务。用于定制控件的外观。通常以下控件支持Custom Draw功能Header controlsList-view controlsRebar controlsToolbar controlsToolTip controlsTrackbar controlsTree-view controls(杯具,我是查找修改CSliderCtrl的办法找到的) 控件在绘制操作的特殊时间发送NM_CUSTOMDRAW通知消息,NM_CUSTOMDRAW通知作为WM_NOTIFY消息发送。根据系统或者其他应用程序的消息,通用控件周期性地绘制删..
阅读全文
双缓冲加载位图 WinCE
摘要:void CMy08301Dlg::OnPaint(){CPaintDC dc(this);CDC dcMem; CBitmap bmpMem; dcMem.CreateCompatibleDC(&dc); bmpMem.CreateCompatibleBitmap(&dc,800,480);dcMem.SelectObject(&bmpMem); CDC dcMem2; dcMem2.CreateCompatibleDC(&dcMem); CBitmap bmpMem2; CString ok=L"//……//ok.bmp/0"; CStr
阅读全文