C ++将光标大小设置为32 [英] c++ set cursor size over 32
本文介绍了C ++将光标大小设置为32的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
im试图设置光标。光标的宽度和高度大于32像素。但是当我设置它时,它只会缩小到32px。
有任何想法吗?
im trying to set a cursor. the width and the height of the cursor is bigger than 32 px. but it just scale it down to 32px when i set it.
any idea?
推荐答案
如果您使用的是 LoadCursor
函数,那么我认为您总会缩放到标准大小。
If you're using the LoadCursor
function, then I think you'll always get scaled to the standard size.
尝试使用 LoadImage
与 IMAGE_CURSOR
,所需大小为(0,0),并且不使用 LR_DEFAULTSIZE
标志。
Try using LoadImage
with IMAGE_CURSOR
, a desired size of (0,0), and do not use the LR_DEFAULTSIZE
flag.
这篇关于C ++将光标大小设置为32的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文