*topic* preferencially using WNDCLASSEX "style" argument (like CS_NOCLOSE)
Thanks.
--EDIT--
Answer: http://cboard.cprogramming.com/showthread.php?t=64492
Printable View
*topic* preferencially using WNDCLASSEX "style" argument (like CS_NOCLOSE)
Thanks.
--EDIT--
Answer: http://cboard.cprogramming.com/showthread.php?t=64492
Disabling maximize and resizing:
As the window style.Code:WS_OVERLAPPEDWINDOW & ~(WS_THICKFRAME|WS_MAXIMIZEBOX)
Or make a window not resizeable after creating it:
Where hwnd is the window handle.Code:DWORD dwStyle = GetWindowLong(hwnd, GWL_STYLE);
dwStyle &= ~(WS_MAXIMIZEBOX|WS_MINIMIZEBOX);
SetWindowLong(hwnd, GWL_STYLE, dwStyle);