Home > Software engineering >  MFC CGridCtrl the scroll bar fixed lines cannot be displayed
MFC CGridCtrl the scroll bar fixed lines cannot be displayed

Time:09-21


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 try

CodePudding user response:

reference 1st floor zgl7903 response:
after adding the data call m_Ctrl. AutoSize (GVS_BOTH) try

Not make changes just the height of the table width is bigger,,,
  • Related