Hi, how can I prevent a window from being maximized or gray out the maximize button? If you need my code it is just the basic window from winprog.org.