# Windows handling

Fix Window Frame Style | FIXWINFRAME | Initializes the game window with a title bar and resizeable borders.
Prevent Win Maximize | PREVENTMAXIMIZE | Some modern games don't actually go into fullscreen mode, but just make the window occupy the whole screen. This option intercepts Windows messages and user32 calls to avoid changing the window position and size to make it a fullscreen window.
Lock win style | LOCKWINSTYLE | Intercepts messages and calls that the program makes to itself to change its own windowstyle.
Recover screen mode | RECOVERSCREENMODE | Sets the screen mode to registry default settings. In general, DxWnd intercepts any attempt to change display settings and prevents unwanted operations, but some programs still send display settings instructions before DxWnd can possibly intercept them (e.g. before the window is created and the windows hook is invoked). In this case, changing the display settings right afterward is the only possible solution. Try this when other options don't work.
Refresh on win resize | REFRESHONRESIZE | Any decently written Windows application should take care of refreshing the screen primary surface when resized, and most fullscreen games do it. Some don't, because they were not supposed to ever be resized. This flag is forces a refresh (useful for the game Uprising).
Fix Parent Window | FIXPARENTWIN | Typically, a game is started with an invisible program window, and then it creates a separate child window for handling the graphics. Some games use the parent window instead of the child window. In this case, the parent window becomes visible, then needs to be properly resized. This feature is currently experimental, but it seems to successfully manage several tough games, such as Solaris, SleepWalker, Sid Meier's Sim Golf, and the Worms series.
Modal Style | MODALSTYLE | When "Fix Window Frame Style" is set, a borderless and titleless modal style is chosen instead of the default one.
Force win resize | FORCEWINRESIZE | Experimental (and not working very well so far): should force window resizing messages to be processed so that the window can be resized by dragging its borders.
Hide multi-monitor config | HIDEMULTIMONITOR | Makes the program ignore multiple monitors in your system configuration, giving information about the primary monitor only.
Hide Taskbar | HIDETASKBAR | Forces the Windows Taskbar to hide while a game is running.
Unlock Z-order | UNLOCKZORDER | Some games repeatedly bring their window to the top of the Z-order, meaning that they insist on remaining on top of all other windows. This flag prevents the hooked game from updating its own Z-order.
Suppress main window destruction | SUPPRESSRELEASE | Some games kill the main window before starting a new one, and DxWnd may not properly handle this behavior. This flag prevents the main window from being destroyed, resolving that issue.
Send WM_ACTIVATEAPP message | ACTIVATEAPP | Windows sends an ACTIVATEAPP message to fullscreen programs, but may not send this message to windowed programs. This flag forces Windows to send that message, resolving cases where the hooked program expects to receive such a message.