From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
hendra@ngms

Provide General Control Over Events Generated

Status: New

Provide general on/off control of event types, such as mouse-over, so they can be disabled.  It is often very difficult to debug a callback by setting a break-point, then attempting to generate EVENT_COMMIT, EVENT_LEFT_CLICK or EVENT_RIGHT_CLICK.  The mouse over event is generated first, of course.

  • User Interface
1 Comment
jared
Member

Typically, breakpoints are set in the callback under a case statement in a switch (or if statement) for a particular event that you're interested in debugging.

 

Another way to do it is by setting a condition on the breakpoint. From the edit breakpoint dialog, you can enter "event == EVENT_LEFT_CLICK_UP" in the Condition control.