![]() |
|
QA: How to make dialogs not full screen?
By Vassili Philippov, February 25, 2001.
QuestionWhen 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? AnswerSet 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.
DiscussDiscuss this article. Here you can write your comments and read comments of other developers. |
|||||||||||||||||||||