11-09-2006 08:31 PM
11-10-2006 01:41 AM
Some elements in your question make me think you are programming in LabVIEW: if this is true, you should repost this question in the appropriate forum.
If I'm wrong and your develpment environment is CVI you could attach a callback to the control and swallow (i.e. return 1) the keyboard events:
int CVICALLBACK theNumericCallback (int panel, int control, int event,
void *callbackData, int eventData1,
int eventData2)
{
switch (event) {
case EVENT_KEYPRESS :
return 1;
break;
default:
break;
}
return 0;
}
11-10-2006 03:34 PM