Mouse pos and bitmaps

Hi,

How can I tell if the cursor is inside a screen bitmap ?

Thx

FC.
First you need to get the cursor position and the rectangle of the bitmap.
Then you can use the PtInRect function.
https://msdn.microsoft.com/de-de/library/windows/desktop/dd162882(v=vs.85).aspx
Topic archived. No new replies allowed.