简体   繁体   中英

c++ use custom cursor gdi

ok im trying to create cursor using gdi. i can't even find tutorial how to use customize cursor, i can find so many tutorials for c#. all i know that i use these two functions to set cursor,setcursor and loadcursor that is it thanks Rami

You can create your own cursor using CreateCursor() . The last two parameters defined the actual pixel data. This gives you a HCURSOR handle.

Once created, you can use it with SetCursor(HCURSOR handle) .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM