I want my Form to separately recognise left and right double mouse clicks, and the left double click handler to recognise a depressed key so single button mouse users can emulate a right double click.
The Builder mouse dblclk handler uses method TNotifyEvent which provides no event parameters.
How do I use Builder's OnDblClick event handler to find which mouse button and any keys that were pressed ?
or
Windows generates a wm_LBUTTONDBLCLK msg. & a wm_RBUTTONDBLCLK msg.
if the window has the CS_DBLCLKS style (What is this ?)
Do I override the Builder component method for handling the event, with my own method to handle the windows message ?
johnp
The Builder mouse dblclk handler uses method TNotifyEvent which provides no event parameters.
How do I use Builder's OnDblClick event handler to find which mouse button and any keys that were pressed ?
or
Windows generates a wm_LBUTTONDBLCLK msg. & a wm_RBUTTONDBLCLK msg.
if the window has the CS_DBLCLKS style (What is this ?)
Do I override the Builder component method for handling the event, with my own method to handle the windows message ?
johnp