I get a HCURSOR from another process. I would like to find its type.
Its resource is of these LoadCursor.
I looked around in MSDN site did not found any info about how to get resource id of the HCURSOR.
How do i do that?
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You don’t. Cursors don’t necessarily have resource IDs (you could create a cursor in memory, for example).
You perhaps could try creating cursors from known resource IDs and then comparing them to the
HCURSORin question. (System cursors should be used withLoadImage(..., LR_SHARED), so multiple calls should return the same handle.)