Los equivalentes en C a los operadores
and,
or y
not de pascal son &, | y !. El código que tienes puedes ponerlo así:
Código:
if ((state & ABS_ALWAYSONTOP) != 0)
{
state = state & !ABS_ALWAYSONTOP;
}
else
{
state = state | ABS_ALWAYSONTOP;
}
// Saludos