Click here to Skip to main content
15,890,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Reading CSV file using C Pin
rp_suman5-Feb-07 17:46
rp_suman5-Feb-07 17:46 
GeneralRe: Reading CSV file using C Pin
David Crow6-Feb-07 3:03
David Crow6-Feb-07 3:03 
GeneralRe: Reading CSV file using C Pin
rp_suman19-Feb-07 0:07
rp_suman19-Feb-07 0:07 
AnswerRe: Reading CSV file using C Pin
ThatsAlok6-Feb-07 20:10
ThatsAlok6-Feb-07 20:10 
QuestionSizing controls Pin
baerten5-Feb-07 1:55
baerten5-Feb-07 1:55 
AnswerRe: Sizing controls Pin
Waldermort5-Feb-07 2:10
Waldermort5-Feb-07 2:10 
GeneralRe: Sizing controls Pin
baerten5-Feb-07 3:10
baerten5-Feb-07 3:10 
GeneralRe: Sizing controls Pin
Waldermort5-Feb-07 3:22
Waldermort5-Feb-07 3:22 
baerten wrote:
it steps into it, than before the rest of the OnSize-Code is be executed, he steps at new to this line.
After it, he steps 2 times to the rest of the code.


I'm sorry, but I really can't understand your meaning.

You are positioning the windows from your OnSize handler. Here's how it works internally.

When the main window moves or changes a WM_WINDOWPOSCHANGING message is sent, after this a WM_WINDOWPOSCHANGED is sent. During the message, DefWindowProc() detects if the size or position has changed then sends WM_SIZE and/or WM_MOVE.

If you want to move child windows around, it would be better for you to overide OnWindowPosChanging Calculate your new size and position then call SetWindowPos() with the SWP_NOSENDCHANGING flag. This way your controls will be moved/positioned before the main window.
GeneralRe: Sizing controls Pin
baerten5-Feb-07 3:41
baerten5-Feb-07 3:41 
QuestionCToolBar basic questions Pin
PatrykDabrowski5-Feb-07 1:02
PatrykDabrowski5-Feb-07 1:02 
AnswerRe: CToolBar basic questions Pin
Mark Salsbery5-Feb-07 6:54
Mark Salsbery5-Feb-07 6:54 
QuestionRe: CToolBar basic questions Pin
PatrykDabrowski5-Feb-07 12:58
PatrykDabrowski5-Feb-07 12:58 
AnswerRe: CToolBar basic questions Pin
Mark Salsbery5-Feb-07 13:37
Mark Salsbery5-Feb-07 13:37 
QuestionXPCOM Creation Pin
johnalek5-Feb-07 0:53
johnalek5-Feb-07 0:53 
AnswerRe: XPCOM Creation Pin
_AnsHUMAN_ 5-Feb-07 1:16
_AnsHUMAN_ 5-Feb-07 1:16 
AnswerRe: XPCOM Creation Pin
Hamid_RT5-Feb-07 7:49
Hamid_RT5-Feb-07 7:49 
AnswerRe: XPCOM Creation Pin
ThatsAlok6-Feb-07 20:11
ThatsAlok6-Feb-07 20:11 
Questionrelated to network module Pin
sudhir.marni5-Feb-07 0:23
sudhir.marni5-Feb-07 0:23 
GeneralRe: related to network module Pin
johnalek5-Feb-07 1:12
johnalek5-Feb-07 1:12 
AnswerRe: related to network module Pin
David Crow5-Feb-07 3:01
David Crow5-Feb-07 3:01 
AnswerRe: related to network module Pin
Hamid_RT5-Feb-07 7:46
Hamid_RT5-Feb-07 7:46 
QuestionON Network module Pin
Member 35534025-Feb-07 0:17
Member 35534025-Feb-07 0:17 
AnswerRe: ON Network module Pin
Waldermort5-Feb-07 2:06
Waldermort5-Feb-07 2:06 
AnswerRe: ON Network module Pin
David Crow5-Feb-07 3:03
David Crow5-Feb-07 3:03 
AnswerRe: ON Network module Pin
Eytukan5-Feb-07 3:15
Eytukan5-Feb-07 3:15 

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.