Today I found a strange behavior using the menu bar of my program with a touch screen. Under every menu item I have child items as you can see in the screenshots.
The bug is: Let's say if I click (with my finger on the touch screen) on the menu item "Edit" and after that directly on the menu item "File", the callback function of the menu bar is called with menu item "Close order" even when it is dimmed.
My callback function starts like this:
void CVICALLBACK MAIN_CALLBACK_Menuebar(int menubar, int menuItem, void *callbackData, int panel)
{
switch (menuItem)
{
}
}
Did anyone ever experienced this behavior?
My System is Windows 10 with CVI 20.0.0