[lazarus] TCustomControl/TGraphicControl MouseDown

2005-12-02 Thread Malcolm Poole
I am working on a suite of components for an app which will allow the user to design the layout of a multimedia presentation. The parent component ( or page ) is a TCustomControl descendent, while its children will be TGraphicControl descendents. I chose this route because I could find no way

Re: [lazarus] TCustomControl/TGraphicControl MouseDown

2005-12-02 Thread Mattias Gaertner
On Fri, 02 Dec 2005 09:47:15 + Malcolm Poole [EMAIL PROTECTED] wrote: I am working on a suite of components for an app which will allow the user to design the layout of a multimedia presentation. The parent component ( or page ) is a TCustomControl descendent, while its children will

Re: [lazarus] TCustomControl/TGraphicControl MouseDown

2005-12-02 Thread Vincent Snijders
Mattias Gaertner wrote: On Fri, 02 Dec 2005 09:47:15 + Malcolm Poole [EMAIL PROTECTED] wrote: I am working on a suite of components for an app which will allow the user to design the layout of a multimedia presentation. The parent component ( or page ) is a TCustomControl descendent,

Re: [lazarus] TCustomControl/TGraphicControl MouseDown

2005-12-02 Thread Mattias Gaertner
On Fri, 02 Dec 2005 13:03:07 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Fri, 02 Dec 2005 09:47:15 + Malcolm Poole [EMAIL PROTECTED] wrote: I am working on a suite of components for an app which will allow the user to design the layout of a

Re: [lazarus] TCustomControl/TGraphicControl MouseDown

2005-12-02 Thread Vincent Snijders
Mattias Gaertner wrote: On Fri, 02 Dec 2005 13:03:07 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: When implementing the Mouse events for the TGraphicControl descendents I came across a problem that I would really like to know the answer to. When the parent of

Re: [lazarus] TCustomControl/TGraphicControl MouseDown

2005-12-02 Thread Mattias Gaertner
On Fri, 02 Dec 2005 14:42:36 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: [...] On windows it is not working yet. I cannot figure out how to make the LCL and windows itself work together in managing the capturing. How are they supposed to work together? Let me explain a bit more of my

Re: [lazarus] TCustomControl/TGraphicControl MouseDown

2005-12-02 Thread Micha Nelissen
Mattias Gaertner wrote: On Fri, 02 Dec 2005 14:42:36 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Now, if I let the LCL handle the messages first, the capture is lost when windows handles wm_lbuttonup, which results in some events not firing (e.g. TButton Click, which is triggered by a

Re: [lazarus] TCustomControl/TGraphicControl MouseDown

2005-12-02 Thread Mattias Gaertner
On Fri, 02 Dec 2005 16:10:07 +0100 Micha Nelissen [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Fri, 02 Dec 2005 14:42:36 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Now, if I let the LCL handle the messages first, the capture is lost when windows handles wm_lbuttonup, which