社区
C语言
帖子详情
关于win c中的DIB问题?
pzyny
2000-07-30 07:03:00
已经知道了一个bitmap在内存中的地址pointer和size,请问如何才能把这个位图装入一个HBITMAP句柄中去,是否有这样的函数可直接调用?(在vc++环境下编译)
...全文
171
2
打赏
收藏
关于win c中的DIB问题?
已经知道了一个bitmap在内存中的地址pointer和size,请问如何才能把这个位图装入一个HBITMAP句柄中去,是否有这样的函数可直接调用?(在vc++环境下编译)
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
2 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
halfdream
2000-08-01
打赏
举报
回复
用HBITMAP CreateBitmapIndirect(
CONST BITMAP *lpbm // pointer to the bitmap data
);
其中:typedef struct tagBITMAP { // bm
LONG bmType;
LONG bmWidth;
LONG bmHeight;
LONG bmWidthBytes;
WORD bmPlanes;
WORD bmBitsPixel;
LPVOID bmBits;
} BITMAP;
programer
2000-07-30
打赏
举报
回复
HBITMAP hBitmap=(HBITMAP)pointer
Using
DIB
Sections in VB
Using
DIB
Sections in VB An Easy to Use Class for manipulating
DIB
Sections plus a blindingly quick technique for updating the bits <br> <br> <br> Updated! 17 February 1999 The...
自己写的C
Dib
类(C语言版)
比如,`LoadFromFile`函数可能会用到`Create
DIB
Section`和`CreateFileMapping`
Win
32 API函数来创建和加载
DIB
,而`SaveToFile`函数可能使用`CreateBitmapIndirect`和`Set
DIB
its`来保存
DIB
到文件。 5. C
Dib
.h头文件...
DIB
Section Class VB
your code will work under
Win
9x but will crash NT4.0: <br> CopyMemory ByVal VarPtrArray(b
Dib
), 0&, 4 <br> Enough of That, I Want to Use It That covers the theory of using
DIB
Sections....
C
Dib
.rar_visual c
4. 201109152204.txt、201111022345.txt、201110020908.txt、201111270937.txt、201110200741.txt:这些看起来是日期命名的日志文件,可能记录了开发过程
中
的注释、修改记录或者
问题
解决方案,对于理解代码的演化...
feeding-index
图像处理
中
关于取指数的C++源代码 #ifndef _INC_
DIB
API #define _INC_
DIB
API /* Handle to a
DIB
*/ DECLARE_HANDLE(H
DIB
); /*
DIB
constants */ #define PALVERSION 0x300 /*
DIB
Macros*/ #define IS_
WIN
30_...
C语言
70,023
社区成员
243,263
社区内容
发帖
与我相关
我的任务
C语言
C语言相关问题讨论
复制链接
扫一扫
分享
社区描述
C语言相关问题讨论
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章