Hello,
trying to catch the events with an ActiveX CWNumEdit, I have got an error during the installation of the callback.
Here's my code :
iStat = GetObjHandleFromActiveXCtrl (panelHandle,PANEL_CWGRAPH_DYN, &g_ObjNum);
if( iStat==UIENoError )
{
hResult = CWUIControlsLib__DCWNumEditEventsRegOnValueChanged (g_ObjNum, C_Obj_NumEditOnValueChanged, NULL, 1, NULL);
if FAILED( hResult )
{
char sErr[200+1];
CA_GetAutomationErrorString( hResult, sErr, 200);
}
}
I've got hResult = -2147467262 which does mean "interface not implemented".
What's wrong ?