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

C / C++ / MFC

 
AnswerRe: INADDR_ANY with second socket? Pin
malaugh5-Feb-07 9:06
malaugh5-Feb-07 9:06 
QuestionReading CSV file using C Pin
rp_suman5-Feb-07 1:57
rp_suman5-Feb-07 1:57 
QuestionRe: Reading CSV file using C Pin
David Crow5-Feb-07 2:57
David Crow5-Feb-07 2:57 
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 
Hello everybody,

In the OnSize-Function, i retrieve the changed Width-Value and changed Height-Value.
then i perform this :

//new position for the Bar
Bar.GetWindowRect(WSize);
ScreenToClient(WSize);
Bar.SetWindowPos(NULL,0,0,(WSize.right - WSize.left),(WSize.bottom - WSize.top)+ChangeY,SWP_NOZORDER | SWP_NOACTIVATE);

//new position for the Tab
Tab->GetWindowRect(WSize);
ScreenToClient(WSize);
Tab->SetWindowPos(NULL,182,3,(WSize.right - WSize.left)+ChangeX,(WSize.bottom - WSize.top)+ChangeY,SWP_NOZORDER | SWP_NOACTIVATE);

if i perform the first SetWindowPos, a new Event is launched directly which provokes some
problems

How can i change the position of these 2 controls and not re-enter in the OnSize?

Thanks Smile | :)
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 
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 

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.