Currently I learning how to build a native windows app using Win32 API along with Direct2D API.
I was successfully built my component-based UI in my app. However, the big problem is I don't know how to check whether a button is clicked and not the other button (UI hit-testing).
In short, how do I implement UI hit testing for my app?
Any help such as reference to the specification/manual, blogs, tutorials, etc will be appreciated!
What I have tried:
I've never tried something to implement the UI hit-testing, as I don't know how to do that. But I tried my best to search in the internet for help, yet encounter big problem because the google only sends me IOS "Hit-testing", that's not what I mean.
Also currently trying to solve this on my own (implement and think on my own).