Sign in Join

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

Mailing lists / lazarus / 2003-08

ListBox,Memo,ComboBox SubClassing (win32)

2 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 Karl Brandt: Trying to improve the recreate process of list/combo i found that subclassing the…
Karl Brandt wrote 5 lines
Trying to improve the recreate process of list/combo i found that subclassing the mentioned controls causes them to be painted incorrectly. To get this, comment the calls to RecreateListControl, which was hiding this issue. To fix it just disables subclassing of these controls.

This is not the way to go. The bug is elsewhere, maybe in the handling of the messages. Unprocessed messages are handled by the actual window proc, PrevWndProc.

I'd like to ask Micha, how disabling these subclassings can affect the funcionality of the controls

The subclassing is the link between the interface and the LCL for non-forms.

Regards,

Micha.

Reply by email

Karl Brandt

Trying to improve the recreate process of list/combo i found that subclassing the mentioned controls causes them to be painted incorrectly. To get this, comment the calls to RecreateListControl, which was hiding this issue.

To fix it just disables subclassing of these controls.

I'd like to ask Micha, how disabling these subclassings can affect the funcionality of the controls

Thanks in advance

karl

Reply by email