Gadgets > Rogue Wave Views Gadgets > Customizing the Look and Feel > Making a User-Defined Component Look-and-Feel Dependant > Installing the Object Look-and-Feel Handlers
 
Installing the Object Look-and-Feel Handlers
To install your object look-and-feel handlers on their corresponding look-and-feel handler, use the macro IlvRegisterObjectLFHandler:
IlvRegisterObjectLFHandler(IlvMotifLFHandler,
MyComponent,
MyComponentMLFHandler);
The previous code registers the MyComponentMLFHandler class as the object look-and-feel handler for the MyComponent class displayed using the Motif look.
You do not have to create or delete instances of object look-and-feel handlers, it will be done automatically.

Version 6.2.1
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.