8 messages in com.googlegroups.google-desktop-developerRe: FInd out, where mouse clicked [C#]
FromSent OnAttachments
Yannick Stucki14 Nov 2005 14:47 
poz14 Nov 2005 15:27 
Yannick Stucki14 Nov 2005 17:28 
poz14 Nov 2005 17:48 
Airbear14 Nov 2005 21:26 
Yannick Stucki15 Nov 2005 16:49 
poz15 Nov 2005 17:03 
Yannick Stucki15 Nov 2005 17:17 
Subject:Re: FInd out, where mouse clicked [C#]
From:poz (sati@hotmail.com)
Date:11/14/2005 03:27:02 PM
List:com.googlegroups.google-desktop-developer

The easiest way seems to create one item for each button, instead of trying to find where the mouse position is.

Yannick Stucki wrote:

Hi, I am currently programming a plug-in and it hasn't the common structure (like the news). It has button on it, like gdTunes. Thus I made the buttons with the drawing method, and not with the standard labeling. My problem is now, that I don't know, how I can find out on which button I clicked. I could do it, if I would now, where the mouse clicked. Could I compare than with bound.left and bounds.right etc? or how did the guys of gdTunes do it?