Home > Software engineering >  Based on VS2010 MFC multiple document view
Based on VS2010 MFC multiple document view

Time:09-24

Figure 1

//-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --//
Figure 2

The above two pictures, I created the 12 list table in the view, pull the scroll bar to the bottom, the 12 tables can just covered with this view of the client area,
FIG. 3

However, I changed to a larger screen display has spread discontent view client area,
Each table of the length and width, I get the width of the client area is calculated again.
Excuse me, no matter in how much of a display screen, how to spread the client area????

CodePudding user response:

GetSystemMetrics
GetWindowRect
GetClientRect
.

CodePudding user response:

reference 1st floor zhao4zhong1 response:
GetSystemMetrics
GetWindowRect
GetClientRect
.

Miss zhao, also is not very understanding, so, in order to get a full view of the size of the client area and includes is part of the invisible after drag the scroll bar, you said the three functions, too

CodePudding user response:

MSDN98_1. ISO http://pan.baidu.com/s/1dDF41ix, MSDN98_2. ISO http://pan.baidu.com/s/1bnGo0Vl
  • Related