Click here to Skip to main content
15,919,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOpenML Pin
Kiddxin17-Aug-02 18:48
Kiddxin17-Aug-02 18:48 
GeneralRe: OpenML Pin
[Brian Azzopardi]17-Aug-02 21:56
suss[Brian Azzopardi]17-Aug-02 21:56 
GeneralRe: OpenML Pin
Darkcharm4-Jun-10 23:25
Darkcharm4-Jun-10 23:25 
GeneralRe: OpenML Pin
Darkcharm5-Jun-10 0:23
Darkcharm5-Jun-10 0:23 
QuestionHow to maximize child windows Pin
Ancient Dragon17-Aug-02 15:53
Ancient Dragon17-Aug-02 15:53 
AnswerRe: How to maximize child windows Pin
RickGavin17-Aug-02 18:45
RickGavin17-Aug-02 18:45 
GeneralRe: How to maximize child windows Pin
Ancient Dragon17-Aug-02 19:35
Ancient Dragon17-Aug-02 19:35 
GeneralRe: How to maximize child windows Pin
Neville Franks17-Aug-02 22:53
Neville Franks17-Aug-02 22:53 
CChildFrame::ActivateFrame() is a recomended way to do this. I don't know if your code in CChildFrame::OnSetFocus() will do anything usefull however.

With MDI only one window is ever maximized at a time. When you switch to another window, the current window is restored to its normal size and then the new window is maximized. This is all a pain in the backside as far as I'm concerned and I assume it has something to do with the early Win 3.x MDI implementation.

One of the problems with this is that you can see the windows flash to restored and then maximized size as you change MDI windows and open and close windows. This flashing varies across different windows versions.

In my CChildFrame::ActivateFrame() in ED for Windows (see sig) I wrap the call to CMDIChildWnd::ActivateFrame() in pMDIClient->SetRedraw( FALSE/TRUE ) calls.

Neville Franks, Author of ED for Windows. www.getsoft.com
GeneralRe: How to maximize child windows Pin
Kash18-Aug-02 5:06
Kash18-Aug-02 5:06 
GeneralRe: How to maximize child windows Pin
Neville Franks18-Aug-02 14:41
Neville Franks18-Aug-02 14:41 
AnswerRe: How to maximize child windows Pin
Joel Lucsy19-Aug-02 3:55
Joel Lucsy19-Aug-02 3:55 
GeneralRe: How to maximize child windows Pin
Mel Stober19-Aug-02 11:21
Mel Stober19-Aug-02 11:21 
QuestionHow to paint all dialog controls to other DC? Pin
17-Aug-02 15:34
suss17-Aug-02 15:34 
AnswerRe: How to paint all dialog controls to other DC? Pin
Shog917-Aug-02 22:26
sitebuilderShog917-Aug-02 22:26 
GeneralRemove Scrollbar from ListCtrl Pin
Pavel Sokolov17-Aug-02 15:28
Pavel Sokolov17-Aug-02 15:28 
QuestionHow to create an icon at run time? Pin
Hiusing17-Aug-02 15:18
Hiusing17-Aug-02 15:18 
AnswerRe: How to create an icon at run time? Pin
Mike Nordell17-Aug-02 23:16
Mike Nordell17-Aug-02 23:16 
Generalsetcheck for extended style list control Pin
nss17-Aug-02 13:59
nss17-Aug-02 13:59 
GeneralRe: setcheck for extended style list control Pin
Joel Lucsy19-Aug-02 3:59
Joel Lucsy19-Aug-02 3:59 
GeneralSTL string class and MFC CString Pin
monrobot1317-Aug-02 12:26
monrobot1317-Aug-02 12:26 
GeneralRe: STL string class and MFC CString Pin
Michael Dunn17-Aug-02 12:56
sitebuilderMichael Dunn17-Aug-02 12:56 
GeneralRe: STL string class and MFC CString Pin
monrobot1317-Aug-02 14:46
monrobot1317-Aug-02 14:46 
GeneralSystem Programming in visual C++ Pin
Amir-ul-Amin17-Aug-02 12:24
Amir-ul-Amin17-Aug-02 12:24 
GeneralRe: System Programming in visual C++ Pin
PJ Arends17-Aug-02 13:02
professionalPJ Arends17-Aug-02 13:02 
GeneralEthernet card and setting promiscuous mode Pin
jparsons17-Aug-02 11:36
jparsons17-Aug-02 11:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.