While working on ffmpegGUI, I encountered a little challenge.
Picture this: I got a whole lot of BSpinners, BPopUpMenus and BCheckBoxes, each sending a BMessage to the window when their value changes to update the text of a BStringView.
Now, when receiving a certain message in the window, I want to set the values of all those widgets, but don’t want to trigger that update. But of course, all those BMessages pile up at MessageReceived() and get processed once my function to set widget values returns…
Is there another way than to temporarily NULL each widget’s ‘modification message’, and re-set the original message once the widget value is set?