Finding out if a style is applied to a window.
Posted on 2002-05-20
Please help me solve this.
I want a method of finding out wich styles a window has.
The current way i do this is checking the bits like this.
if(style & WS_TABSTOP)
But when i want to check WS_OVERLAPPED i can't because it is defined as zero and fails in the if statement.
How can i create a routine that works with all types ?