# Special keys

DxWnd injects some special keys that might be useful into the controlled application:

cliptoggle | When the “Force cursor clipping” option is ON, this key toggles the clipping region ON and OFF so that you can exit the game area and control other tasks or move/resize your game window.
refresh | Forces a surface repaint. Some old games didn't even consider the possibility of a task overriding the game area, so they don't repaint when they should. This is a technical detail, but if your game screen gets dirty, try this key to fix it.
logtoggle | Toggles logging ON/OFF. Since painting operations can be quite verbose, toggling the log can be a useful trick to get information about a specific program's activity without having to browse tons of log lines.
plocktoggle | Toggle position locking. When the Lock win Coordinates flag is set (see Windows handling), the window can't be moved or resized. Toggle this behavior OFF, move or resize the window, and then lock the window again.
fpstoggle | Toggle the FPS display ON and OFF.
timefast/timeslow | Increase or decrease the time shift multiplication factor when time stretching is on.
altf4 | This key is the well known quit command for any task. If the application doesn't react quickly enough to your command, you can set the “Intercept Alt-F4 key” option to cause DxWnd to immediately quit the program.
timetoggle | When time stretching is enabled, this key toggles the time stretching feature entirely OFF and ON. It's useful to play part of the program at a normal speed.