Lines Matching defs:style
798 static LONG fullscreen_style(LONG style)
801 style |= WS_POPUP | WS_SYSMENU;
802 style &= ~(WS_CAPTION | WS_THICKFRAME);
804 return style;
823 LONG style, exstyle;
827 if (device->style || device->exStyle)
829 ERR("Changing the window style for window %p, but another style (%08x, %08x) is already stored.\n",
830 window, device->style, device->exStyle);
833 device->style = GetWindowLongW(window, GWL_STYLE);
836 style = fullscreen_style(device->style);
839 TRACE("Old style was %08x, %08x, setting to %08x, %08x.\n",
840 device->style, device->exStyle, style, exstyle);
845 SetWindowLongW(window, GWL_STYLE, style);
861 LONG style, exstyle;
863 if (!device->style && !device->exStyle) return;
865 TRACE("Restoring window style of window %p to %08x, %08x.\n",
866 window, device->style, device->exStyle);
868 style = GetWindowLongW(window, GWL_STYLE);
874 /* Only restore the style if the application didn't modify it during the
877 * depend on the original style (Eve Online). */
878 if (style == fullscreen_style(device->style) && exstyle == fullscreen_exstyle(device->exStyle))
880 SetWindowLongW(window, GWL_STYLE, device->style);
888 device->style = 0;