Click here to Skip to main content
15,910,411 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Executing commands on command line Pin
Joaquín M López Muñoz31-Mar-02 18:59
Joaquín M López Muñoz31-Mar-02 18:59 
GeneralAnother programming question Pin
David Wulff31-Mar-02 16:13
David Wulff31-Mar-02 16:13 
GeneralRe: Another programming question Pin
Nick Parker31-Mar-02 16:50
protectorNick Parker31-Mar-02 16:50 
GeneralRe: Another programming question Pin
Nish Nishant31-Mar-02 16:58
sitebuilderNish Nishant31-Mar-02 16:58 
GeneralRe: Another programming question Pin
ColinDavies31-Mar-02 16:56
ColinDavies31-Mar-02 16:56 
GeneralRe: Another programming question Pin
Michael Dunn31-Mar-02 19:19
sitebuilderMichael Dunn31-Mar-02 19:19 
GeneralRe: Another programming question Pin
David Wulff1-Apr-02 1:45
David Wulff1-Apr-02 1:45 
QuestionHow to get the correct client rect of the view? Pin
Feng Qin31-Mar-02 14:58
Feng Qin31-Mar-02 14:58 
I use the wizard to create the MFC application, choose Explorer style, so ,the app has two view:CLeftView, CRightListView, the following codes:
void CRightListView::OnSize(UINT nType, int cx, int cy)
{
CView::OnSize(nType, cx, cy);

GetParent()->GetClientRect(&m_ClientRect);
MoveWindow(&m_ClientRect);

}
the m_ClientRect is the sum of CLeftView and CRightListView, that's not I want to see.
How to get only the rect of CRightListView?

I'm amumu, and you?
AnswerRe: How to get the correct client rect of the view? Pin
PJ Arends31-Mar-02 15:10
professionalPJ Arends31-Mar-02 15:10 
GeneralRe: How to get the correct client rect of the view? Pin
Feng Qin31-Mar-02 15:53
Feng Qin31-Mar-02 15:53 
GeneralRe: How to get the correct client rect of the view? Pin
Christian Graus31-Mar-02 16:00
protectorChristian Graus31-Mar-02 16:00 
GeneralRe: How to get the correct client rect of the view? Pin
Feng Qin1-Apr-02 0:35
Feng Qin1-Apr-02 0:35 
GeneralRe: How to get the correct client rect of the view? Pin
Christian Graus1-Apr-02 0:53
protectorChristian Graus1-Apr-02 0:53 
GeneralRe: How to get the correct client rect of the view? Pin
Christian Graus1-Apr-02 1:04
protectorChristian Graus1-Apr-02 1:04 
GeneralRe: How to get the correct client rect of the view? Pin
Feng Qin1-Apr-02 14:39
Feng Qin1-Apr-02 14:39 
GeneralC++ question Pin
Rajveer31-Mar-02 13:34
Rajveer31-Mar-02 13:34 
GeneralRe: C++ question Pin
Jack Handy31-Mar-02 14:33
Jack Handy31-Mar-02 14:33 
GeneralRe: C++ question Pin
Roger Wright31-Mar-02 14:58
professionalRoger Wright31-Mar-02 14:58 
GeneralRe: C++ question Pin
Rajveer2-Apr-02 2:34
Rajveer2-Apr-02 2:34 
GeneralRe: C++ question Pin
Roger Wright2-Apr-02 3:41
professionalRoger Wright2-Apr-02 3:41 
GeneralRe: C++ question Pin
Michael A. Barnhart31-Mar-02 15:26
Michael A. Barnhart31-Mar-02 15:26 
GeneralRe: C++ question Pin
Nick Parker31-Mar-02 16:45
protectorNick Parker31-Mar-02 16:45 
GeneralRe: help with this code Pin
Christian Graus31-Mar-02 12:31
protectorChristian Graus31-Mar-02 12:31 
GeneralRe: help with this code Pin
Nick Parker31-Mar-02 16:47
protectorNick Parker31-Mar-02 16:47 
GeneralRe: help with this code Pin
Christian Graus31-Mar-02 18:49
protectorChristian Graus31-Mar-02 18:49 

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.