[comp.windows.x] Any ideas?

powers.WBST139@XEROX.COM (09/22/87)

	If one has a screen with say, 50 or 60 items on it ranging from line
objects to rectangle, circle, and bitmap objects how would one go about
doing real estate tracking? What I want to do is track the mouse and
highlight each element as it is passed over. I could put everything in
an independent window (widgetized) and ask for enter and leave events
but doesn't this get me into problems since windows are square. Will it
mess up circles and other strange shapes allowing them to be selected
even though I haven't really touched them? Or worse yet, if two circles
are very close the bounding windows could overlap.
	 I could always do the tracking manually by getting all mouse movement
events and checking if the mouse in on an object explicitly but
something tells me that this could be slow.
	Any brilliant ideas out there in toolkitland?

						Mike

p.s. So thats why those widget buttons are square! (Come to think of it,
so is the clock)


powers.wbst139@Xerox.com