views:

674

answers:

2

How do you disable the Maximize button/capability in an SDI application?

A: 

You can see it here: How to disable maximize in SDI application

Naveen
+1  A: 

For completeness:

int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
    ModifyStyle(WS_MAXIMIZEBOX, 0);

    <etc...>
}
Roel
I prefer this to an external link that could be broken in the future.
Aidan Ryan