Gadgets > Creating GUI Applications with Rogue Wave Views Studio > Extending Rogue Wave Views Studio > Extending Rogue Wave Views Studio: An Example > Registering Callbacks
 
Registering Callbacks
Rogue Wave® Views Studio lets you use your own callbacks when you test panels or applications by calling the registerCallback function:
static void ILVCALLBACK
MyCallback(IlvGraphic* obj, IlvAny)
{
IlvPrint(“MyCallback is called”);
}
 
....
IlvStudio* editor = ...
....
editor->registerCallback(“MyCallback”, MyCallback);
editor->registerCallback(“myCallback”, MyCallback);
....

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.