Vassili Philippov (vasja@spbteam.com), February 25, 2001.
When I create a dialog using MFC it is shown stretched to the whole screen. How can I create a not full screen dialog like in Windows 95?
Set m_bFullScreen CDialog member to FALSE before dialog creation.
For example you can show dialog using the following way:
Or you can set m_bFullScreen member to FALSE in the constructor of your dialog. CDialog creates a full screen dialog in OnInitDialog method using calling of SHInitDialog function if m_bFullScreen dialog is set to TRUE.