When the user resizes the DBGrid component at run-time the column widths are not resized. Thus, if the width of the DBGrid is larger than the total width of all the columns, you'll get an empty area right after the last column. On the other hand, if the total width of all the columns is larger than the width of the DBGrid a horizontal scroll bar will appear. I want only some of the columns to resize,
but shrink only to a certein width, below that point a horizontal scrollbar should appear.
I've been looking for solution all over and all I could find was written in delphi, some of the code I translated to c++, but not all.
Thank you in advance.