I'm writing window managing code in C. When certain flags are set, I want to have a maximized window that cannot be resized by dragging the window by the title bar. Is there a way to 'lock' a maximized window in its maximized state?