Everytime I switch it from Windowed to Hardware or Software I get this message:

"Library (built in) message: Can't change video mode.

Error message: Error: Can't change video mode to 320x240x16bits"

Does anyone know what my problem is?