Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-12

WndList global variable

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Micha Nelissen
to Vincent Snijders: The win32 interface has a global variable WndList. Comments in code suggest it is (or…
Vincent Snijders wrote 8 lines
The win32 interface has a global variable WndList. Comments in code suggest it is (or should, would be) used to keep a list with windows, that have properties set by SetProp. At the end this list could be used to remove the properties with RemoveProp. This is not implemented. IMO this variable is obsolete, since we remove all properties while handling the wm_destroy message in the wndproc. We don't need the global variable to do so. Can it be removed?

Indeed, things are only added to it, never inspected to do something useful. I have removed it.

Thanks,

Micha.

Reply by email

Vincent Snijders

Hi,

The win32 interface has a global variable WndList. Comments in code suggest it is (or should, would be) used to keep a list with windows, that have properties set by SetProp. At the end this list could be used to remove the properties with RemoveProp. This is not implemented.

IMO this variable is obsolete, since we remove all properties while handling the wm_destroy message in the wndproc. We don't need the global variable to do so. Can it be removed?

I also have some problems with sending and receiving email to and from the list. Did you receive any patch for the win32 interface from me since yesterday?

Regards,
Vincent Snijders.

Reply by email

Micha Nelissen
to Vincent Snijders
Vincent Snijders wrote 8 lines
The win32 interface has a global variable WndList. Comments in code suggest it is (or should, would be) used to keep a list with windows, that have properties set by SetProp. At the end this list could be used to remove the properties with RemoveProp. This is not implemented. IMO this variable is obsolete, since we remove all properties while handling the wm_destroy message in the wndproc. We don't need the global variable to do so. Can it be removed?

Will look into it.

I also have some problems with sending and receiving email to and from the list. Did you receive any patch for the win32 interface from me since yesterday?

Last patch from you received by me is: listbox patch from 2003-12-15.

Micha.

Reply by email