This method sets and clears corresponding style flags as an atomic operation. It can be used in place of the wpQueryStyle and wpSetStyle instance methods.