On 10/30/2011 09:13 AM, ciprian.nedisan@xxxxxxxxxxxx wrote:
hi Does somebody know what is the standard way to detect a double click on a view? Perhaps it would be a good idea, to add to BView a hook for double click?
Nah. The B_MOUSE_DOWN message has a "clicks" field which will tell youhow many times the mouse button has been pressed. If you're doing this from within BView::MouseDown, you should be able to call CurrentMessage() to get access to the message itself.
--Jon