c++ set cursor size over 32

我们两清 提交于 2019-12-13 13:41:50

问题


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?


回答1:


If you're using the LoadCursor function, then I think you'll always get scaled to the standard size.

Try using LoadImage with IMAGE_CURSOR, a desired size of (0,0), and do not use the LR_DEFAULTSIZE flag.



来源:https://stackoverflow.com/questions/3560710/c-set-cursor-size-over-32

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!