For whatever reason, it always returns FL_MENU_VALUE (4), regardless of whether I checked or unchecked the box. From the docs it says it should return 0 if the item is not checked. Where have I gone wrong?
You'll need to show us much more than that for us to have any chance of commenting usefully here, I suspect.
In your attempt to diagnose this problem, have you made a minimal (compilable) example to investigate the issue? What does it show? Can you post that example here for us to see what you have done?
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.