Hi,
I know there are some ways to pass from one to another and experienced some.
But please can you indicate the best way to transform a HCURSOR to a HICON and vice versa.
Thanks a lot
Printable View
Hi,
I know there are some ways to pass from one to another and experienced some.
But please can you indicate the best way to transform a HCURSOR to a HICON and vice versa.
Thanks a lot
you can use ::CreateIcon(..) to create an icon from the raw bits you can get from HCURSOR using the ::GetIconInfo(..).Quote:
Originally Posted by F.Mayis
look at this thread for usage of ::GetIconInfo(..) and ::CreateIcon(..)
just pass the ::GetIconInfo(..) the HCURSOR and you will get its data.
Cheers