I try to simplify a simple problem that arises in a more complex context, about hints.
Suppose we have two controls visible on the screen. The rectangular perimeter around the larger one contains the smaller one. Let's also assume that the larger one is placed in the foreground (with BringToFront method), while the smaller one is placed in the background (with SendToBack method).
If the shape of the larger control is not rectangular, the other control is still visible. My problem is that in this case, when the mouse cursor goes over the smaller control, is displayed the hint of the larger one, not the hint of the smaller one, above which the cursor visually appears.
Is it possible to solve this problem?
Attached I show an example made with Shapes and two screenshots that show the problem.
Thanks.