Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD21] - Static Controls and Mouse Cursor (4 replies)

$
0
0
Hi All

I have a window with a background image. Overlaid are several static controls. Static controls have no code options for handling mouse clicks. So I have click trapping code in the image control - left-button-up code. In this code I determine the x,y coordinates of the mouse click and determine if it was clicked over a static control. All works perfect.

Here is the issue: if you change the static control mouse cursor to a non-default cursor, e.g. the hand icon, then the mouse click is no longer received by the underlying image. It is consumed somehow by the static control even though the static control has no code options for processing mouse clicks.

A little irritating since it would be nice to use the mouse hand icon to indicate to users that the static control can be clicked on ... :(

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>