[lazarus] GetWindowLong

Shane Miller smiller at lakefield.net
Fri Jan 7 17:48:51 EST 2000


Yes, I see there are only 6 more and I began adding them like you
suggested....
I'm not sure what you mean about messing up the LCL with these though....

---------------------------------------
Shane Miller

Get paid to surf the net!
http://alladvantage.com/go.asp?refid=DEX-870

Home page : http://www.lakefield.net/~smiller

Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip

Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard

Lazarus : http://www.miraclec.com/lazarus

----- Original Message -----
From: "Marc Weustink" <weus at quicknet.nl>
To: <lazarus at miraclec.com>
Sent: Friday, January 07, 2000 3:28 PM
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)
>   GWL_HINSTANCE
>     depends on application and doesn't have to be stored
>     in the class
>   GWL_HWNDPARENT
>     obvious
>   GWL_ID
>     ?? the gtkwidget as ID ??
>   GWL_USERDATA, DWL_USER
>      this is userdata and I think you want to store this
>      in the class
>
>   DWL_MSGRESULT
>     ??
>
> seen this I think it makes not a big difference of storing them all, you
> have to store some of them anyhow. Besides that GetWindowLong is an API
> function and I think that it is not a good thing to mess up the LCL with
> these.
>
> Marc
>
>
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus
>






More information about the Lazarus mailing list