Click here to Skip to main content
15,914,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SIMPLE: "x" in System menu Pin
JKallen11-Feb-05 13:48
JKallen11-Feb-05 13:48 
GeneralRe: SIMPLE: "x" in System menu Pin
David Crow12-Feb-05 14:37
David Crow12-Feb-05 14:37 
GeneralRe: SIMPLE: "x" in System menu Pin
Shog911-Feb-05 12:25
sitebuilderShog911-Feb-05 12:25 
GeneralRe: SIMPLE: "x" in System menu Pin
JKallen11-Feb-05 13:54
JKallen11-Feb-05 13:54 
GeneralScreen redraw.. Pin
Neil scsn11-Feb-05 10:29
Neil scsn11-Feb-05 10:29 
GeneralRe: Screen redraw.. Pin
Shog911-Feb-05 12:00
sitebuilderShog911-Feb-05 12:00 
GeneralRe: Screen redraw.. Pin
Neil scsn11-Feb-05 12:07
Neil scsn11-Feb-05 12:07 
GeneralRe: Screen redraw.. Pin
Shog911-Feb-05 12:49
sitebuilderShog911-Feb-05 12:49 
A useful technique is to simply delay resizing the children of your frame for a short while. In an MDI app, subclass your MdiClient window, and in the WM_SIZE handler set a timer for half a second or so. Do not call the base class. In the WM_TIMER handler, set a flag checked by your WM_SIZE handler to let it know that it's time to resize - then send yourself a WM_SIZE message with the appropriate parameters. For an SDI or dialog app, simply do this for your frame or dialog window instead of the MDI client.

The results of this are that the user is still able to view window contents while resizing, yet you are saved from having to deal with repainting quickly in all your child windows.

Shog9

I'm not the Jack of Diamonds... I'm not the six of spades.
I don't know what you thought; I'm not your astronaut...

GeneralNeural Network Code Pin
bitpusher11-Feb-05 10:21
bitpusher11-Feb-05 10:21 
GeneralRe: Neural Network Code Pin
rocky_pulley11-Feb-05 14:13
rocky_pulley11-Feb-05 14:13 
GeneralRe: Neural Network Code Pin
bitpusher11-Feb-05 14:30
bitpusher11-Feb-05 14:30 
GeneralRe: Neural Network Code Pin
humps12-Feb-05 0:25
humps12-Feb-05 0:25 
GeneralRe: Neural Network Code Pin
rocky_pulley12-Feb-05 6:28
rocky_pulley12-Feb-05 6:28 
GeneralRe: Neural Network Code Pin
conniepooh25-Mar-05 19:08
conniepooh25-Mar-05 19:08 
GeneralRe: Neural Network Code Pin
conniepooh25-Mar-05 19:13
conniepooh25-Mar-05 19:13 
GeneralObtaining List of File Names Pin
bitpusher11-Feb-05 10:19
bitpusher11-Feb-05 10:19 
GeneralRe: Obtaining List of File Names Pin
David Crow11-Feb-05 10:21
David Crow11-Feb-05 10:21 
GeneralRe: Obtaining List of File Names Pin
bitpusher11-Feb-05 10:27
bitpusher11-Feb-05 10:27 
GeneralRe: Obtaining List of File Names Pin
David Crow11-Feb-05 12:16
David Crow11-Feb-05 12:16 
GeneralRe: Obtaining List of File Names Pin
Ravi Bhavnani11-Feb-05 12:51
professionalRavi Bhavnani11-Feb-05 12:51 
QuestionCan I create split windows dynamically? Pin
bilas11-Feb-05 10:06
bilas11-Feb-05 10:06 
AnswerRe: Can I create split windows dynamically? Pin
Bob Ciora11-Feb-05 10:34
Bob Ciora11-Feb-05 10:34 
GeneralMessage System Question Pin
Steve Messer11-Feb-05 9:46
Steve Messer11-Feb-05 9:46 
GeneralRe: Message System Question Pin
Maximilien11-Feb-05 10:18
Maximilien11-Feb-05 10:18 
GeneralRe: Message System Question Pin
Steve Messer11-Feb-05 11:36
Steve Messer11-Feb-05 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.