📄 subject_62841.htm
字号:
<p>
序号:62841 发表者:zlg 发表日期:2003-11-29 00:09:40
<br>主题:1bit的位图怎样显示?
<br>内容:请问:1bit位图 宽100点,高30点,内存地址:xxxx,用VC 编程WIN98环境怎样显示,怎样复制到剪贴板上。<BR>
<br><a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p>
<hr size=1>
<blockquote><p>
回复者:太平冰水 回复日期:2003-11-29 10:20:51
<br>内容:CBitmap::CreateBitmap <BR>BOOL CreateBitmap( int nWidth, int nHeight, UINT nPlanes, UINT nBitcount, const void* lpBits );<BR><BR>Return Value<BR><BR>Nonzero if successful; otherwise 0.<BR><BR>Parameters<BR><BR>nWidth<BR><BR>Specifies the width (in pixels) of the bitmap.<BR><BR>nHeight<BR><BR>Specifies the height (in pixels) of the bitmap.<BR><BR>nPlanes<BR><BR>Specifies the number of color planes in the bitmap.<BR><BR>nBitcount<BR><BR>Specifies the number of color bits per display pixel.<BR><BR>lpBits<BR><BR>Points to a short-integer array that contains the initial bitmap bit values. If it is NULL, the new bitmap is left uninitialized.<BR><BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:zlg 回复日期:2003-11-30 09:43:09
<br>内容:谢谢太平冰水!<BR>不知能否再详细一点?
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
<font color=red>答案被接受</font><br>回复者:太平冰水 回复日期:2003-12-01 09:02:11
<br>内容:nWidth = 100<BR>nHeight = 30<BR>nPlanes = 1<BR>nBitcount = 1<BR>lpBits = xxxx<BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:zlg 回复日期:2003-12-02 18:13:32
<br>内容:非常感谢!问题已经解决。
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -