[lazarus] GetWindowLong

Samuel Liddicott sam at campbellsci.co.uk
Tue Jan 11 12:15:46 EST 2000




> -----Original Message-----
> From: Marc Weustink [mailto:weus at quicknet.nl]
> Sent: Friday, January 07, 2000 09:28 PM
> To: lazarus at miraclec.com
> Subject: Re: [lazarus] GetWindowLong
>
>
> At 14:05 07-01-2000 -0600, Shane wrote:
>
> >Second, just setting those specific items as data won't work
> >because there are more than just those.  I just gave those as
> >an example.  there are a few more I would use so I was thinking
> >of storing the class which would encompass everything.
>
> Hmm... if I look at the winhelp there are only 6 more :-)
> But some of them you can't put them in the class.
>   GWL_EXSTYLE, GWL_STYLE
>     can
>   GWL_WNDPROC	, DWL_DLGPROC
>     this one is incompatible with the windowproc we use
>     (that's an object instance pointer this is a pointer)

MakeObjectInstance gets round this and gives a flat procedure pointer for a
object/method address pair.

Sam






More information about the Lazarus mailing list