Click here to Skip to main content
15,921,660 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CString Pin
Bravoone_200624-Nov-06 20:59
Bravoone_200624-Nov-06 20:59 
GeneralRe: CString Pin
CPallini24-Nov-06 21:26
mveCPallini24-Nov-06 21:26 
QuestionRe: CString Pin
Bravoone_200624-Nov-06 22:14
Bravoone_200624-Nov-06 22:14 
AnswerRe: CString Pin
CPallini24-Nov-06 22:21
mveCPallini24-Nov-06 22:21 
GeneralRe: CString Pin
Bravoone_200624-Nov-06 22:27
Bravoone_200624-Nov-06 22:27 
QuestionRe: CString Pin
CPallini24-Nov-06 22:36
mveCPallini24-Nov-06 22:36 
AnswerRe: CString Pin
Mark Salsbery25-Nov-06 5:56
Mark Salsbery25-Nov-06 5:56 
QuestionDeferWindowPos Pin
Waldermort24-Nov-06 20:04
Waldermort24-Nov-06 20:04 
I was hoping this api call would help speed up the drawing in my window, but no such luck.

This is how it works, I process the WM_SIZE of the main window, from there I call BeginDeferWindowPos() adding all the child windows. For each child window, I propagate down the Z-order adding all the childrens children to the same struct. Once all windows have been succesfully added, I call EndDeferWindowPos() to move/size the windows. Now here is the problem, only the children of the main window are effected, the childrens children do not get moved/resized.

As far as I can tell my code is working correctly for the most part. I store the rectangle for each child, from this I can tell Each call to DeferWindowPos() is being called with the correct paramaters. Also I tried converting the DeferWindowPos() call to the standard SetWindowPos() and this moves ALL windows as expected.

Would anybody happen to know of a reason why this may be failing?
AnswerRe: DeferWindowPos Pin
PJ Arends24-Nov-06 23:22
professionalPJ Arends24-Nov-06 23:22 
GeneralRe: DeferWindowPos Pin
Waldermort25-Nov-06 3:07
Waldermort25-Nov-06 3:07 
GeneralRe: DeferWindowPos Pin
Mark Salsbery25-Nov-06 5:59
Mark Salsbery25-Nov-06 5:59 
GeneralRe: DeferWindowPos Pin
PJ Arends25-Nov-06 6:42
professionalPJ Arends25-Nov-06 6:42 
QuestionHelp Regarding DDK Pin
ram krishna pattnayak24-Nov-06 19:46
ram krishna pattnayak24-Nov-06 19:46 
Questionwhen deconstructor function is called and some other dummy questions Pin
cy163@hotmail.com24-Nov-06 19:26
cy163@hotmail.com24-Nov-06 19:26 
AnswerRe: when deconstructor function is called and some other dummy questions Pin
prasad_som24-Nov-06 19:56
prasad_som24-Nov-06 19:56 
GeneralRe: when deconstructor function is called and some other dummy questions Pin
cy163@hotmail.com24-Nov-06 20:21
cy163@hotmail.com24-Nov-06 20:21 
QuestionHow to add VC++ Build paths from Installer? Pin
uusheikh24-Nov-06 17:58
uusheikh24-Nov-06 17:58 
AnswerRe: How to add VC++ Build paths from Installer? Pin
Michael Dunn24-Nov-06 18:30
sitebuilderMichael Dunn24-Nov-06 18:30 
GeneralRe: How to add VC++ Build paths from Installer? Pin
uusheikh26-Nov-06 18:43
uusheikh26-Nov-06 18:43 
QuestionDifference b/w MFC in VC++ 6.0 & VC++.net 2003 Pin
ksandy4524-Nov-06 17:57
ksandy4524-Nov-06 17:57 
AnswerRe: Difference b/w MFC in VC++ 6.0 & VC++.net 2003 Pin
prasad_som24-Nov-06 20:04
prasad_som24-Nov-06 20:04 
GeneralRe: Difference b/w MFC in VC++ 6.0 & VC++.net 2003 Pin
ksandy4524-Nov-06 20:49
ksandy4524-Nov-06 20:49 
GeneralRe: Difference b/w MFC in VC++ 6.0 & VC++.net 2003 Pin
_tasleem25-Nov-06 2:17
_tasleem25-Nov-06 2:17 
GeneralRe: Difference b/w MFC in VC++ 6.0 & VC++.net 2003 Pin
ksandy4527-Nov-06 18:06
ksandy4527-Nov-06 18:06 
GeneralRe: Difference b/w MFC in VC++ 6.0 & VC++.net 2003 Pin
_tasleem27-Nov-06 22:14
_tasleem27-Nov-06 22:14 

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.