how would i insert or remove WM_DISABLED from the styles of a window at will?

i probably cant go
PHP Code:
dwStyles -= WM_DISABLED
right? how could i do it?
thanks