Archive: How to unselect with SetSectionFlags?


How to unselect with SetSectionFlags?
I am sure this is a really simple question, but I haven't found an answer so far...

I know I can select a given section with:

SectionSetFlags ${MySection} ${SF_SELECTED}

But how do I use SetSectionFlags to UNSELECT a section?

As there is no according flag (at least I haven't found one), I assume that I need to bitwise manipulate the flags value in order to unset the "selected" bit. Right so far? What is the according syntax?

http://forums.winamp.com/showthread.php?p=2542984


That's exactly what I was looking for. Thanks!