LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Touch screen + Menubar lead to unwanted Callback calls

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.

Marc1234_1-1642673268853.png

 

Marc1234_0-1642673141756.png

 

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

0 Kudos
Message 1 of 1
(847 Views)