Changed the window style flags to a uint enum type.