JBenghiat 333 Posted November 3, 2020 Is anyone using TrackHotSpot? I can successfully create hotspots and see the appropriate tool tip when I hover over them, but, at least in the GetCursorSpecifier event, running TrackHotSpot always returns NULL when I hover over the hot spot. Quote Share this post Link to post
Nicolas Goutte 79 Posted November 3, 2020 (edited) Yes, we use both. However we do not take care of the return value of TrackHotSpot but use the CParametricHotSpot that is passed as parameter reference. Edited November 3, 2020 by Nicolas Goutte Quote Share this post Link to post
JBenghiat 333 Posted November 3, 2020 Thanks @Nicolas Goutte. I took at look at the CParametricHotSpot classes, but I don't think they are doing anything fundamentally different than what I am doing. Would you mind sharing more on how you are implementing hot spots, either here or off list? Quote Share this post Link to post
Nicolas Goutte 79 Posted November 4, 2020 14 hours ago, JBenghiat said: Thanks @Nicolas Goutte. I took at look at the CParametricHotSpot classes, but I don't think they are doing anything fundamentally different than what I am doing. Would you mind sharing more on how you are implementing hot spots, either here or off list? Sorry, the code we use is shared between many classes (especially to be testable). And I was not the one who has written it, so I cannot make a small example out of it. Quote Share this post Link to post
JBenghiat 333 Posted November 14, 2020 My issue seemed to be that I was calling TrackHotSpot() in the same event as when I created the hot spots. Calling during HandleComplete() is working for me. 1 Quote Share this post Link to post