如题
解决方案 »
- 求教一个VC开机自动启动的问题
- CreateProcess创建出来的子进程,能否指定父进程退出自己也退出?
- TVN_SELCHANGED相关的问题?
- 字节处理的问题
- 急等:在Dll中CreateEx一个CWnd对象时,调用AfxGetInstanceHandle()出错
- SafeArrayAccessData如何操作二维数组
- 新手,请教各位大虾如何用多媒体定时器实现0.2ms__1ms的定时
- 为什么会出现重复定义错误??
- 小弟问一个特菜的问题!!!考程序员要到哪里(哪个机构或部门)报名?什么时候报名?
- 请问怎么读取一张BMP图片放到内存里呢?
- 如何让CStirng::Replace进行不区分大小写的字符串替换??急呀!!!在线等待,马上给分!!!
- 菜鸟问题:关于在vc中使用结构
The LoadImage function loads an icon, cursor, animated cursor, or bitmap.HANDLE LoadImage(
HINSTANCE hinst, // handle to instance
LPCTSTR lpszName, // name or identifier of the image
UINT uType, // image type
int cxDesired, // desired width
int cyDesired, // desired height
UINT fuLoad // load options
);
::AfxGetInstanceHandle(),
"C:\\abc.bmp",
IMAGE_BITMAP,
0,
0,
LR_LOADFROMFILE
);
m_Bitmap.Attach(hBmp);
m_Brush.CreatePatternBrush(&m_Bitmap);//--------------------------