i'm facing difficulties capture mouse events tcustompanel component @ designtime. i've tried cmdesignhittest
returning message.result := 1
. works ok capturing when mouse enters component, fails sense when mouse leaves. i've tried messing component style, not work @ all. understand (from gather on web), after returning message.result := 1
on cmdesignhittest
event, mouse events captured component, seems not work standard onmouseenter
/ onmouseleave
events. wonder if can me working sample issue. thank in advance.
as test, try adding handler wm_nchittest
message , make sure message.result
getting set htclient
when csdesigning
flag enabled in componentstate
property. saw online articles suggest htclient
needed in order cm_designhittest
work.
Comments
Post a Comment