• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
ezhong
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 8 9 10 11 12

2010年9月25日

TransparentBlt
摘要: TransparentBltWinCE 下TransparentBlt函数不能进行伸缩,源DC与目标DC的宽和高需要一样,否则不能过滤掉最后一个参数指定的颜色 阅读全文
posted @ 2010-09-25 20:33 ezhong 阅读(242) 评论(0) 推荐(0)
 
 

2010年9月21日

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消息发送。根据系统或者其他应用程序的消息,通用控件周期性地绘制删.. 阅读全文
posted @ 2010-09-21 10:56 ezhong 阅读(986) 评论(0) 推荐(0)
 
 

2010年9月3日

双缓冲加载位图 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 阅读全文
posted @ 2010-09-03 20:29 ezhong 阅读(1115) 评论(0) 推荐(0)
 
 

2010年8月17日

为基于对话框的应用程序添背景BitBlt()/双缓冲
摘要: 目标OS:WinCEIDE:VS 2005--------------------------------------------------------------------------------------------CDC m_dcMem;CBitmap m_bmpMem;//可放到对话框头文件类定义中为对话框添加WM_PAINT消息void CETimeDlg::OnPaint(){ CPaintDC dc(this); // device context for painting // TODO: Add your message handler code here // ... 阅读全文
posted @ 2010-08-17 21:19 ezhong 阅读(799) 评论(0) 推荐(0)
 
 

2010年8月13日

SetLocalTime(&sysTime);修改系统时间 /WinCE /
摘要: typedef struct _SYSTEMTIME { WORD wYear; WORD wMonth; WORD wDayOfWeek; WORD wDay; WORD wHour; WORD wMinute; WORD wSecond; WORD wMilliseconds;} SYSTEMTIME, *LPSYSTEMTIME;SetLocalTime修改成本地时间SetSystemTime修改成格林威治时间、int m_Year; int m_Month; int m_Day; int m_Hour; int m_Minute; int m_Second; SYSTEMTIME sy 阅读全文
posted @ 2010-08-13 14:10 ezhong 阅读(2507) 评论(0) 推荐(0)
 
 

2010年8月12日

求推荐
摘要: 需要一些书籍,自己找了好久,没有找到合适的,希望有人推荐内容要求: 1:讲C++ MFC编程(讲基础语法的那些除外) 2:环境工具最好是visual studio 2005 3:最好大量具体项目应用范例(范例最好不是控制台程序) 4:设计用户界面杯具!!!!!!!!!!!!(当时把博客当论坛了,唉,那个菜。20110908) 阅读全文
posted @ 2010-08-12 11:47 ezhong 阅读(126) 评论(0) 推荐(0)
 
 

2010年8月5日

LPCTSTR /Data Types/ cannot convert parameter 1 from 'const char [5]' to 'LPCTSTR'
摘要: LPCTSTRA 32-bit pointer to a constant character string that is portable for Unicode and DBCS.CButton::CreateBOOL Create( LPCTSTR lpszCaption, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID );若:CButton m_btn;m_btn.Create("按钮",WS_CHILD|BS_DEFPUSHBUTTON,CRect(0,0,100,100),thi 阅读全文
posted @ 2010-08-05 20:01 ezhong 阅读(830) 评论(0) 推荐(0)
 
 
上一页 1 ··· 8 9 10 11 12

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3