Click here to Skip to main content
15,909,530 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralIPicture will change the width and the height of a picture loaded Pin
Daed12-Nov-02 22:27
Daed12-Nov-02 22:27 
Generalequation editor and mathematical function evaluator Pin
Miguel Segarra12-Nov-02 22:22
Miguel Segarra12-Nov-02 22:22 
GeneralRe: equation editor and mathematical function evaluator Pin
Chris Richardson14-Nov-02 9:03
Chris Richardson14-Nov-02 9:03 
GeneralRe: equation editor and mathematical function evaluator Pin
Miguel Segarra14-Nov-02 21:48
Miguel Segarra14-Nov-02 21:48 
GeneralRe: equation editor and mathematical function evaluator Pin
Chris Richardson15-Nov-02 7:25
Chris Richardson15-Nov-02 7:25 
GeneralRe: equation editor and mathematical function evaluator Pin
Miguel Segarra17-Nov-02 22:04
Miguel Segarra17-Nov-02 22:04 
GeneralRe: equation editor and mathematical function evaluator Pin
Chris Richardson15-Nov-02 7:42
Chris Richardson15-Nov-02 7:42 
GeneralMDI Maximized windows Pin
Steve S12-Nov-02 21:57
Steve S12-Nov-02 21:57 
I have an MDI MFC app where for "ease of use" I want the MDI child windows to stay maximized. When I create them, the frames are initially maximized (WS_MAXIMIZE is set as a style), and they have no minimize or maximize button.

So far so good, but when I use the "Windows" menu to switch between them, it insists on restoring all the MDI child frames.

I hacked around this by handling the OnMDIActivate, and if the frame is being activated, I do a ShowWindow(SW_MAXIMIZE).

Only problem is that this shows as a set of restored windows (as the other MDI children are repainted), and then the active window repaints itself maximized. This leaves a flickering effect on screen for around a quarter of a second Frown | :(

Is there a way I can suppress this?

Steve S
[This signature space available for rent]
GeneralRe: MDI Maximized windows Pin
Eugene Pustovoyt12-Nov-02 23:49
Eugene Pustovoyt12-Nov-02 23:49 
GeneralRe: MDI Maximized windows Pin
Steve S13-Nov-02 3:25
Steve S13-Nov-02 3:25 
GeneralRe: MDI Maximized windows Pin
Neville Franks13-Nov-02 10:47
Neville Franks13-Nov-02 10:47 
QuestionHow to test a thread handle is valid handle? Pin
Lizp12-Nov-02 21:40
Lizp12-Nov-02 21:40 
AnswerRe: How to test a thread handle is valid handle? Pin
Daniel Turini12-Nov-02 22:06
Daniel Turini12-Nov-02 22:06 
GeneralRe: How to test a thread handle is valid handle? Pin
Lizp12-Nov-02 23:00
Lizp12-Nov-02 23:00 
GeneralRe: How to test a thread handle is valid handle? Pin
Daniel Turini12-Nov-02 23:23
Daniel Turini12-Nov-02 23:23 
GeneralAWARE!! Re: How to test a thread handle is valid handle? Pin
Hugo Hallman16-Nov-02 9:15
Hugo Hallman16-Nov-02 9:15 
GeneralCCriticalSection, CDatabase, CRecordset Pin
zecodela12-Nov-02 21:37
zecodela12-Nov-02 21:37 
GeneralStatusbar update problem Pin
Anonymous12-Nov-02 21:17
Anonymous12-Nov-02 21:17 
Generalproblem with unicode and XML Pin
12-Nov-02 21:04
suss12-Nov-02 21:04 
GeneralRe: problem with unicode and XML Pin
Alois Kraus12-Nov-02 21:47
Alois Kraus12-Nov-02 21:47 
GeneralRe: problem with unicode and XML Pin
Anonymous12-Nov-02 22:47
Anonymous12-Nov-02 22:47 
GeneralRe: problem with unicode and XML Pin
Alois Kraus13-Nov-02 7:06
Alois Kraus13-Nov-02 7:06 
GeneralRe: problem with unicode and XML Pin
Ernesto Perales Soto13-Nov-02 14:03
Ernesto Perales Soto13-Nov-02 14:03 
GeneralCommandBars missing... Pin
Daniel Strigl12-Nov-02 20:38
Daniel Strigl12-Nov-02 20:38 
GeneralInt2Type Generic Programming :: C++ Pin
valikac12-Nov-02 20:34
valikac12-Nov-02 20:34 

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.