Le 15/07/12 09:14, Scott Kostyshak a écrit :
What is the correct way to check whether a buffer is hidden?I am currently doing the following bool const hidden = !(guiApp->currentView() && guiApp->currentView()->workArea(*b)); which works fine but I'm not sure if it's the right way.
This is the usual way, as ugly as it may seem. JMarc