Questions tagged [getclientrect]
17 questions
0
votes
0 answers
How to get size of CView-based client area?
I have an MFC MDI application. In order to place some controls in the view (MyView derived from CView), I need to know the size of the client area of the view. I will be using dimensions based on the client area's size in the Create function for the…

Woody20
- 791
- 11
- 30
0
votes
1 answer
Call GetClientRect winAPI
I am having an issues trying to call the GetClientRect and passing in a Stuct to get populated with the values that are returned. Here is the code I have.
[return: MarshalAs(UnmanagedType.Bool)]
[DllImport("user32.dll")]
internal…

Spafa9
- 742
- 3
- 14
- 30