Hi folks!
I need to call a menu by cliking the mouse's right button .
The menu must appears when I am click and I am on the tabControl.
I tried to set the calling the function to open the menu using this command:
SetPanelAttribute ( panelHandleFromTabPage, ATTR_CALLBACK_FUNCTION_POINTER, BackgroundMenuCallback);
...
It follows the function's prototype that i want to call.
int CVICALLBACK BackgroundMenuCallback (int panel, int control, int event,
void *callbackData, int eventData1, int eventData2)
The error that appears when I try to execute this command line is:
Invalid argument type: found ' pointer to __cdecl int function ( int, int, int, pointer to void, int, int)', expected '__cdecl int function ( int, int, int, pointer to void, int, int)'
What is it wrong?!
Thank you in advance!