C + + MFC using CGridCtrl according to form the present to pull the scroll bar, the first three lines of fixed lines will display into the following lines to form content disorder as shown in the figure below
Which is where a great god help see problem
CodePudding user response:
After adding the data call m_Ctrl. AutoSize (GVS_BOTH) give it a tryCodePudding user response: