Re: [Lazarus] OSX: Handles and WindowRefs

2009-01-10 Thread Andrew Haines
Duncan Parsons wrote: Hi, I seem to have run into a problem with what is essentially nomenclature.. Since LCL has used Delphi as its template, there's a lot of Windows based conventions, but that doesn't totally map to other systems. For instance, TForm.Handle in windows repesents the tag

Re: [Lazarus] reading a little endian long.

2008-12-20 Thread Andrew Haines
Dave Coventry wrote: If I Blockread(F,buffer,4) with buffer being an array of byte, Is there a routine in fpc/lazarus which will revers the bytes for me? This is what I want: longv:=buffer[0]; longv+=buffer[1] shl 8; longv+=buffer[2] shl 16; longv+=buffer[3] shl 24; Is there a function

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Andrew Haines
Felipe Monteiro de Carvalho wrote: On Tue, Dec 9, 2008 at 7:03 PM, Felipe Monteiro de Carvalho I think that GetPosition isn't implemented in all platforms. Test it. Actually it is implemented for gtk2 and win32, so it should work. I just implemented

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Andrew Haines
Felipe Monteiro de Carvalho wrote: Well, your implementation doesn't work in my system (KDE 3.5), while the previous one does. Unless there is a compeling argument to use the new implementation I propose to revert to the previous one. I appreciate your effort to quick implement the feature,

Re: [Lazarus] Trayicon troubles

2008-12-09 Thread Andrew Haines
Felipe Monteiro de Carvalho wrote: Well ... this is already implemented in a cross-platform way in TCustomTrayIcon. The widgetset specific hint should only be implemented if there is a native ballon hint (my plan was to use it only for Windows XP) Any objections to my improving the

Re: [Lazarus] OT: too stupid for SVN

2008-12-06 Thread Andrew Haines
Lukas Gradl wrote: Hi! After beeing ill for some weeks, I'm just starting to work again. So, first thing was to make a 'svn up' in my Lazarus-Repository (which was originally checked out by 'svn co'. Now I've changed some files locally which I now want to set back to the versions in the

Re: [Lazarus] Finding out the Hostname of the Computer.

2008-11-27 Thread Andrew Haines
Dave Coventry wrote: Hi, I'm trying to get the name of the computer my app is running on. I've tried this: function GetThisComputerName: string; var c: array[0..127] of Char; computer: string; sz: dword; AProcess: TProcess; AStringList: TStringList; begin {$IFDEF Win32}

Re: [Lazarus] Ho do I display playing cards with Lazarus?

2008-11-14 Thread Andrew Haines
Peter Williams wrote: Hi All, How can I display playing cards with Lazarus? (e.g. for card games). Links to any example card games written in Lazarus would be greatly appreciated. Regards, Peter W. ;-))) A long time ago I wrote a card game: concentration. here's a link to

Re: [Lazarus] 0.9.26 (FPC 2.2.2) on Slackware and Debian

2008-10-30 Thread Andrew Haines
Mark Morgan Lloyd wrote: Andrew Haines wrote: Now this is a completely virgin Debian system, it's never had Debian-served FPC or Lazarus packages installed and I've got a fairly good record of what's been put onto it and what changes there were in /usr/lib. So would somebody please

Re: [Lazarus] 0.9.26 (FPC 2.2.2) on Slackware and Debian

2008-10-29 Thread Andrew Haines
Mark Morgan Lloyd wrote: I presume that this works on Slackware because the symlinks already exist, and can confirm: libgdk_pixbuf-2.0.so - libgdk_pixbuf-2.0.so.0.1200.9 and so on. In both cases Lazarus runs, although not fast. Now this is a completely virgin Debian system, it's never

Re: [Lazarus] Lazarus on x86 Slackware 12.1

2008-10-23 Thread Andrew Haines
Mark Morgan Lloyd wrote: Does anybody have any suggestions please? Try make LCL_PLATFORM=gtk2 Regards, Andrew ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus