.. _SetWinFrame: SetWinFrame ============================================================================== Sets or removes frame styles for the currently targeted window. **Syntax**:: **Parameters** Styles must be None or any combination of the following: - ThickFrame - Caption - Border - DlgFrame - ClientEdge - DlgModalFrame - StaticEdge - WindowEdge **Remarks** SetWinFrame affects the window that was targeted with :ref:`TargetWin`, :ref:`SendWin`, etc. SetWinFrame calls the operating system function SetWindowLong. **Examples** The following hotkey removes the window frame from World of Warcraft:: The following hotkey restores the window frame to World of Warcraft:: The following hotkey toggles the window frame off and on:: **Related Topics** - :ref:`RemoveWinFrame`