I have an MDI application with windows that can maximize, minimize, etc.--all the default functionality you'd expect.

I have one MDI child window that behaves as a modeless dialog that I want to not maximize with the rest of the windows.

I know how to prevent the user from maximizing this window by removing the WS_MAXIMIZEBOX in PreCreateWindow, but then switching to this window will restore all other windows from a maximized state.

Is there a way to have some MDI child windows in a maximized state and others not?

Thanks for any help,

Jeff