Click here to Skip to main content
15,916,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhy this linker error? Pin
Jenie_net29-Sep-04 3:38
Jenie_net29-Sep-04 3:38 
AnswerRe: Why this linker error? Pin
Nicholas Cardi29-Sep-04 4:14
Nicholas Cardi29-Sep-04 4:14 
AnswerRe: Why this linker error? Pin
Bob Stanneveld29-Sep-04 6:37
Bob Stanneveld29-Sep-04 6:37 
AnswerRe: Why this linker error? Pin
Anonymous29-Sep-04 6:42
Anonymous29-Sep-04 6:42 
GeneralGetting the Width and Height of the View Pin
Neelesh K J Jain29-Sep-04 3:28
Neelesh K J Jain29-Sep-04 3:28 
GeneralRe: Getting the Width and Height of the View Pin
Manfred Staiger29-Sep-04 3:48
Manfred Staiger29-Sep-04 3:48 
GeneralRe: Getting the Width and Height of the View Pin
Neelesh K J Jain29-Sep-04 3:57
Neelesh K J Jain29-Sep-04 3:57 
GeneralRe: Getting the Width and Height of the View Pin
Manfred Staiger29-Sep-04 4:28
Manfred Staiger29-Sep-04 4:28 
OK !

Assuming rightPane and leftPane are your two view classes in the splitterWnd:

RECT rectAppl;<br />
long heightAppl=0;<br />
long widthAppl=0;<br />
<br />
AfxGetMainWnd()->GetClientRect(&rectAppl);<br />
<br />
heightAppl=rectAppl.bottom-rectAppl.top;<br />
widthAppl=rectAppl.right-rectAppl.left;<br />
<br />
rightPane.SetWindowPos(&wndBottom, 0, 0, widthAppl/4, heightAppl, SWP_NOMOVE|SWP_NOZORDER);<br />
leftPane.SetWindowPos(&wndBottom, 0, 0, (widthAppl/4)*3, heightAppl, SWP_NOMOVE|SWP_NOZORDER);



I think thats what you want to do.



MS
GeneralOnVScroll() or OnMouseWheel() Pin
Jesper Knudsen29-Sep-04 3:17
Jesper Knudsen29-Sep-04 3:17 
GeneralCaption Bar and Control Box Pin
Kolpia29-Sep-04 3:07
Kolpia29-Sep-04 3:07 
GeneralRe: Caption Bar and Control Box Pin
Andrzej Markowski29-Sep-04 6:24
Andrzej Markowski29-Sep-04 6:24 
GeneralMFC MSG Pin
ANDYFA29-Sep-04 2:46
ANDYFA29-Sep-04 2:46 
GeneralRe: MFC MSG Pin
Manfred Staiger29-Sep-04 3:13
Manfred Staiger29-Sep-04 3:13 
GeneralRe: MFC MSG Pin
David Crow29-Sep-04 4:25
David Crow29-Sep-04 4:25 
GeneralRe: MFC MSG Pin
ANDYFA29-Sep-04 6:59
ANDYFA29-Sep-04 6:59 
GeneralRe: MFC MSG Pin
David Crow29-Sep-04 7:17
David Crow29-Sep-04 7:17 
GeneralRe: MFC MSG Pin
ANDYFA29-Sep-04 7:25
ANDYFA29-Sep-04 7:25 
GeneralRe: MFC MSG Pin
David Crow29-Sep-04 7:30
David Crow29-Sep-04 7:30 
GeneralRe: MFC MSG Pin
ANDYFA29-Sep-04 7:39
ANDYFA29-Sep-04 7:39 
GeneralRe: MFC MSG Pin
David Crow29-Sep-04 7:43
David Crow29-Sep-04 7:43 
GeneralReading from the port Pin
mithuna29-Sep-04 1:14
mithuna29-Sep-04 1:14 
GeneralDataBase management - MS Excel Pin
Daniel Kanev29-Sep-04 1:08
Daniel Kanev29-Sep-04 1:08 
GeneralRe: DataBase management - MS Excel Pin
David Crow29-Sep-04 4:49
David Crow29-Sep-04 4:49 
QuestionHow to start a PC/Application from Program Pin
Billar29-Sep-04 0:43
Billar29-Sep-04 0:43 
AnswerRe: How to start a PC/Application from Program Pin
22491729-Sep-04 2:04
22491729-Sep-04 2:04 

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.