Click here to Skip to main content
15,889,857 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDriving a 3rd-party app from my app. Pin
davidjaybrown3-Mar-09 5:46
davidjaybrown3-Mar-09 5:46 
AnswerRe: Driving a 3rd-party app from my app. Pin
Stuart Dootson3-Mar-09 6:19
professionalStuart Dootson3-Mar-09 6:19 
GeneralRe: Driving a 3rd-party app from my app. Pin
davidjaybrown3-Mar-09 7:45
davidjaybrown3-Mar-09 7:45 
GeneralRe: Driving a 3rd-party app from my app. Pin
Stuart Dootson3-Mar-09 8:05
professionalStuart Dootson3-Mar-09 8:05 
AnswerRe: Driving a 3rd-party app from my app. Pin
vikrant kpr3-Mar-09 6:30
vikrant kpr3-Mar-09 6:30 
GeneralRe: Driving a 3rd-party app from my app. Pin
davidjaybrown3-Mar-09 8:10
davidjaybrown3-Mar-09 8:10 
GeneralRe: Driving a 3rd-party app from my app. Pin
vikrant kpr3-Mar-09 8:24
vikrant kpr3-Mar-09 8:24 
QuestionHow can I get the VISIBLE part of the client area in a window? Pin
Joseph Marzbani3-Mar-09 4:52
Joseph Marzbani3-Mar-09 4:52 
As you know, using CWnd::GetClientRect we can get the dimensions of the client area of a window. Now suppose that we have a toolbar just below the menu bar. this toolbar has occupied a part of the client area! That's if we (e.g.) draw a line from (0, 0) to (100, 100), this line passes across the toolbar !!! D'Oh! | :doh: My question is how can I get the client rect, but excluding the toolbar rect.

Thank you masters!

AnswerRe: How can I get the VISIBLE part of the client area in a window? Pin
Code-o-mat3-Mar-09 5:13
Code-o-mat3-Mar-09 5:13 
GeneralRe: How can I get the VISIBLE part of the client area in a window? Pin
Joseph Marzbani3-Mar-09 8:21
Joseph Marzbani3-Mar-09 8:21 
AnswerRe: How can I get the VISIBLE part of the client area in a window? Pin
Stuart Dootson3-Mar-09 6:14
professionalStuart Dootson3-Mar-09 6:14 
GeneralRe: How can I get the VISIBLE part of the client area in a window? Pin
Joseph Marzbani3-Mar-09 8:25
Joseph Marzbani3-Mar-09 8:25 
GeneralRe: How can I get the VISIBLE part of the client area in a window? Pin
Stuart Dootson3-Mar-09 8:39
professionalStuart Dootson3-Mar-09 8:39 
GeneralRe: How can I get the VISIBLE part of the client area in a window? Pin
Iain Clarke, Warrior Programmer3-Mar-09 22:43
Iain Clarke, Warrior Programmer3-Mar-09 22:43 
GeneralRe: How can I get the VISIBLE part of the client area in a window? Pin
Stuart Dootson3-Mar-09 22:48
professionalStuart Dootson3-Mar-09 22:48 
Questionproblems about Template using Pin
jeansea3-Mar-09 4:02
jeansea3-Mar-09 4:02 
AnswerRe: problems about Template using Pin
Cedric Moonen3-Mar-09 4:08
Cedric Moonen3-Mar-09 4:08 
GeneralRe: problems about Template using Pin
jeansea3-Mar-09 4:15
jeansea3-Mar-09 4:15 
GeneralRe: problems about Template using Pin
Cedric Moonen3-Mar-09 4:21
Cedric Moonen3-Mar-09 4:21 
GeneralRe: problems about Template using Pin
jeansea3-Mar-09 5:02
jeansea3-Mar-09 5:02 
GeneralRe: problems about Template using Pin
Stuart Dootson3-Mar-09 4:24
professionalStuart Dootson3-Mar-09 4:24 
GeneralRe: problems about Template using Pin
jeansea3-Mar-09 5:08
jeansea3-Mar-09 5:08 
JokeRe: problems about Template using Pin
Stuart Dootson3-Mar-09 6:31
professionalStuart Dootson3-Mar-09 6:31 
GeneralRe: problems about Template using Pin
CPallini3-Mar-09 5:54
mveCPallini3-Mar-09 5:54 
AnswerRe: problems about Template using Pin
Stuart Dootson3-Mar-09 4:17
professionalStuart Dootson3-Mar-09 4: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.