Re: [fpc-devel] procedure ... message(); in Linux

2010-02-26 Thread Mattias Gaertner
On Fri, 26 Feb 2010 10:46:09 +0100 Michael Schnell wrote: > On 02/26/2010 10:19 AM, Mattias Gaertner wrote: > > > > SendMessage is defined in unit LCLIntf and implemented in the > > LCL interfaces. > > > > Great ! This is the info I needed. > > with "uses LCLIntf" it gets compiled. There ar

[fpc-devel] FourCharCode expression for objective-p mode

2010-02-26 Thread dmitry boyarintsev
Hello Developers, Jonas, would it be possible (and logical) to allow FourCharCode for objectivec1 mode s witch? Since Objective-C mode is used only on MacOSX it would be easier to declare headers that using FourChar constants. And no need to use macpas mode. thanks, dmitry ___

Re: [fpc-devel] procedure ... message(); in Linux

2010-02-26 Thread Michael Schnell
On 02/26/2010 10:19 AM, Mattias Gaertner wrote: > > SendMessage is defined in unit LCLIntf and implemented in the > LCL interfaces. > Great ! This is the info I needed. with "uses LCLIntf" it gets compiled. Thanks, -Michael ___ fpc-devel maillist

Re: [fpc-devel] procedure ... message(); in Linux

2010-02-26 Thread Michael Schnell
On 02/26/2010 10:21 AM, Mattias Gaertner wrote: > PostMessage is threadsafe, dispatch is not. > This is what I did suppose. Now I need to find out how to call PostMessage (as "uses Classes" does not make it visible). -Michael ___ fpc-devel maillist

Re: [fpc-devel] procedure ... message(); in Linux

2010-02-26 Thread Michael Schnell
On 02/26/2010 10:03 AM, Graeme Geldenhuys wrote: > Michael Schnell wrote: > >> 1) "procedure...message" does wok in Linux >> 2) it can be triggered by "Dispatch". >> > > And this is what I have been telling you since the start! :-) > I did not see the relevance, as I did not suppose tha

Re: [fpc-devel] procedure ... message(); in Linux

2010-02-26 Thread Paul Ishenin
26.02.2010 16:19, Mattias Gaertner wrote: SendMessage is defined in unit LCLIntf and implemented in the LCL interfaces. In the end it calls Dispatch. AFAIK under gtk it does not support sending messages to/from other apps. As far as I remember both are using same messaging subsystem of gtk. At

Re: [fpc-devel] procedure ... message(); in Linux

2010-02-26 Thread Mattias Gaertner
On Fri, 26 Feb 2010 09:53:44 +0100 Michael Schnell wrote: > OK, Thisa does take me one step further. > > 1) "procedure...message" does wok in Linux > 2) it can be triggered by "Dispatch". > > This is good news, as FPC/Lazarus is confirmed to work as expected. :) > This is bad news as now I need

Re: [fpc-devel] procedure ... message(); in Linux

2010-02-26 Thread Mattias Gaertner
On Fri, 26 Feb 2010 09:41:15 +0100 Michael Schnell wrote: > On 02/25/2010 07:47 PM, David W Noon wrote: > > > > for a couple of years. Provided you are using Lazarus classes, it > > works just like Windows: the PostMessage() and SendMessage() functions > > in the LCLIntf unit provide closely ana

Re: [fpc-devel] procedure ... message(); in Linux

2010-02-26 Thread Graeme Geldenhuys
Michael Schnell wrote: > > 1) "procedure...message" does wok in Linux > 2) it can be triggered by "Dispatch". And this is what I have been telling you since the start! :-) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgu

Re: [fpc-devel] procedure ... message(); in Linux

2010-02-26 Thread Michael Schnell
OK, Thisa does take me one step further. 1) "procedure...message" does wok in Linux 2) it can be triggered by "Dispatch". This is good news, as FPC/Lazarus is confirmed to work as expected. :) This is bad news as now I need to consider "procedure...message" when doing the NoGUIApplication package

Re: [fpc-devel] procedure ... message(); in Linux

2010-02-26 Thread Michael Schnell
On 02/25/2010 07:47 PM, David W Noon wrote: > > for a couple of years. Provided you are using Lazarus classes, it > works just like Windows: the PostMessage() and SendMessage() functions > in the LCLIntf unit provide closely analogous functionality to their > Win32 API namesakes. [In all the appl

Re: [fpc-devel] procedure ... message(); in Linux

2010-02-26 Thread Michael Schnell
On 02/25/2010 06:59 PM, Mattias Gärtner wrote: > > Maybe if you provide a more complete example, some Linux users can > help you. Sorry, but an example how "procedure ... message" can be used in Linux is what I am requesting. A working example in Windows is trivial. Here it works exactly as in Del