On Oct 17, 2007, at 06:52, Arno Garrels wrote: > function TFoo.MsgHandlersCount : Integer; > begin > Result := 1 + inherited MsgHandlersCount; > end; > > procedure TFoo.AllocateMsgHandlers; > begin > inherited AllocateMsgHandlers; > FMsg_WM_FOO := FWndHandler.AllocateMsgHandler(Self); > end; > > procedure TFoo.FreeMsgHandlers; > begin > if Assigned(FWndHandler) then > FWndHandler.UnregisterMessage(FMsg_WM_FOO); > inherited FreeMsgHandlers; > end;
This only to register new custom messages, right? Or for general use of the components? Thanks to all for your responses! dZ. -- "Bastard Operators don't just win. Anyone can win. Bastard Operators win and totally demoralise. That's real winning." -- BOfH -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be