Lines Matching refs:style
39 // Returns the window style for the specified window
43 DWORD style = WS_CLIPSIBLINGS | WS_CLIPCHILDREN;
46 style |= WS_POPUP;
49 style |= WS_SYSMENU | WS_MINIMIZEBOX;
53 style |= WS_CAPTION;
56 style |= WS_MAXIMIZEBOX | WS_THICKFRAME;
59 style |= WS_POPUP;
62 return style;
65 // Returns the extended window style for the specified window
69 DWORD style = WS_EX_APPWINDOW;
72 style |= WS_EX_TOPMOST;
74 return style;
194 const DWORD style = getWindowStyle(window);
199 AdjustWindowRectExForDpi(&frame, style, FALSE, exStyle,
203 AdjustWindowRectEx(&frame, style, FALSE, exStyle);
346 DWORD style = GetWindowLongW(window->win32.handle, GWL_STYLE);
347 style &= ~(WS_OVERLAPPEDWINDOW | WS_POPUP);
348 style |= getWindowStyle(window);
354 AdjustWindowRectExForDpi(&rect, style, FALSE,
359 AdjustWindowRectEx(&rect, style, FALSE, getWindowExStyle(window));
363 SetWindowLongW(window->win32.handle, GWL_STYLE, style);
487 DWORD style;
501 style = GetWindowLongW(window->win32.handle, GWL_STYLE);
502 style |= WS_MAXIMIZE;
503 SetWindowLongW(window->win32.handle, GWL_STYLE, style);
512 AdjustWindowRectExForDpi(&rect, style, FALSE, exStyle, dpi);
517 AdjustWindowRectEx(&rect, style, FALSE, exStyle);
1096 const DWORD style = getWindowStyle(window);
1104 AdjustWindowRectExForDpi(&frame, style, FALSE, exStyle,
1108 AdjustWindowRectEx(&frame, style, FALSE, exStyle);
1282 DWORD style = getWindowStyle(window);
1288 wc.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC;
1365 style |= WS_MAXIMIZE;
1367 AdjustWindowRectEx(&rect, style, FALSE, exStyle);
1391 style,
1450 AdjustWindowRectExForDpi(&rect, style, FALSE, exStyle,
1454 AdjustWindowRectEx(&rect, style, FALSE, exStyle);
1894 DWORD style = GetWindowLongW(window->win32.handle, GWL_STYLE);
1895 style &= ~WS_OVERLAPPEDWINDOW;
1896 style |= getWindowStyle(window);
1897 SetWindowLongW(window->win32.handle, GWL_STYLE, style);
1915 DWORD style = GetWindowLongW(window->win32.handle, GWL_STYLE);
1920 style &= ~WS_POPUP;
1921 style |= getWindowStyle(window);
1922 SetWindowLongW(window->win32.handle, GWL_STYLE, style);
2035 // NOTE: Window opacity also needs the layered window style so do not