Home > Software engineering > Be urgent! Questions about MFCGridCtrl display appear gray not filled areas
Be urgent! Questions about MFCGridCtrl display appear gray not filled areas
Time:09-27
I add a gridctrl in MFC applications, a scroll bar when adjust the table size, but the scroll bar to the bottom and the last time there will be a gray area, is gridctrl parent window's client area, I just don't want this area, including online example is the back and the bottom has a gray area, this certainly does not fit, could you tell me how to fill of gridctrl throughout the contain not shown scrolling the client area, tried many methods can't remove in the area, for the warrior who used gridctrl control guidance.
CodePudding user response:
Update control https://www.codeproject.com/Articles/8/MFC-Grid-control
Or registered class background brush change to white Or modify EraseBkgnd fill the whole area