On Sun, Nov 9, 2014 at 3:26 PM, Antônio <[email protected]> wrote:
> So what the hell do class procedure TCustomRichMemo.WSRegisterClass? > > It associates the LCL TCustomRichMemo with a certain WS-handler class. That's necessary at the time TRichMemo is allocated by LCL it would receive a proper WS-level handler associated. If there's no WS-specific handler registered/implemented, then TRichMemo would still be allocated by won't do have any RichMemo specific functionality. As an example Qt widgetset doesn't have any implementation of RichMemo handles. However, an application using RichMemp could still be allocated. Please note that WSRegisterClass is necessary for controls that heavily depend on the underlying widgetset. Pure cross-platform controls don't need this kind of bindings. thanks, Dmitry
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
