社区
嵌入开发(WinCE)
帖子详情
CE 下CButton::SetBitmap();不能用?
飞天舞
2008-04-30 05:38:25
CE 下CButton::SetBitmap();不能用?
D:\evc project\MfcTest\MfcTestDlg.cpp(54) : error C2039: 'SetBitmap' : is not a member of 'CButton'
...全文
201
4
打赏
收藏
CE 下CButton::SetBitmap();不能用?
CE 下CButton::SetBitmap();不能用? D:\evc project\MfcTest\MfcTestDlg.cpp(54) : error C2039: 'SetBitmap' : is not a member of 'CButton'
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
飞天舞
2008-04-30
打赏
举报
回复
喔,谢谢!
lenux
2008-04-30
打赏
举报
回复
有专门的
CBitmapButton
ouzzka
2008-04-30
打赏
举报
回复
重写一个吧,没办法了
lenux
2008-04-30
打赏
举报
回复
MFC for Windows CE
does not support
the following CButton class methods:
GetBitmap
SetBitmap
GetIcon
SetIcon
GetCursor
SetCursor
C
Button
添加背景图片的方法
方法1. 使用C
Bitmap
C
Bitmap
m_
bitmap
; m_
bitmap
.Load
Bitmap
(IDB_
BITMAP
1); H
BITMAP
h
Bitmap
= (H
BITMAP
)m_
bitmap
.GetSafeHandle...((C
Button
*)GetDlgItem(IDC_
BUTTON
1))->
Set
Bitmap
(h
Bitmap
); 方法2. 使用C
Bitmap
Bu
MFC下的MessageBox使用_附带C
BUTTON
消息框含有应用程序定义的消息和标题,加上预定义图标与Push(下按)按钮的任何组合。函数原型:int MessageBox(HWND hWnd,LPCTSTR IpCaption,UINT UType); 功能定义 参数:hWnd:标识将被创建的消息框的拥有窗口...
Windows编程入门(3)--MFC中给按钮添加位图
C
Button
m_
Bitmap
Button
; 2,关联位图变量 void
CE
0406Dlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(
CE
0406Dlg) DDX_Control(pDX, IDC_
BUTTON
1, m_Bi
12 MFC常用控件(一)
在文件里选择所有文件导入图片。写入数据,每个数据之间用。单选按钮选组长(必须)
VC6.0转成VC2008可能出现的问题
9月23日BcgControlbar是个好东西——界面用 解压缩 BCGControlBar.zip (比如,到 c:/bcg 目录中) 把 c:/bcg/bin 增加到你的 path 环境变量中, 运行 Visual C++ 并且打开 Tools | Options 对话框...
嵌入开发(WinCE)
19,502
社区成员
41,568
社区内容
发帖
与我相关
我的任务
嵌入开发(WinCE)
硬件/嵌入开发 嵌入开发(WinCE)
复制链接
扫一扫
分享
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章