Another bug found -- the last StretchLastColumnToFit column is not fully drawn.
'//Reproduce the problem:
'1.Set sGrid2.StretchLastColumnToFit=True
'2.Run the demo
'3.Resize the demo Form to get Horizontal scrollbar
'4.Double click Title bar (Caption bar) to maximize the demo Form
'5.Double Click again to Restore the Demo Form
'6.Scrolling to last Column,you will see the last column is not fully drawn.
Another bug found -- the last StretchLastColumnToFit column is not fully drawn.
'//Repuduce the problem:
'1.Set sGrid2.StretchLastColumnToFit=True
'2.Run the demo
'3.Resize the demo Form to get Horizontal scrollbar
'4.Double click Titlebar (Captionbar) to maxmize the demo Form
'5.Double Click again to Restore the Demo Form
'6.Scrolling to last Column,you will see the last column is not fully drawn.
I have done some modifications about VBAccelerator sGrid2.
1.Bugs with a small line paint on Header when resizing column head with XP theme enable.
2.Even set the column as fixed width,but still can resize with double click HHT_ONDIVIDER zone.It is due to bugs in m_cHeader_DividerDblClick
3.Row mode bugs
4.bugs in RowGroupingLevel
5.improve SetHeaders.It is no need to remove columns when AddColumn to improve flickering when Grid is showing up.
6.bugs in pRemoveRow sub.
7.Standardize the behavior in pRemoveRow sub.
8.bugs in Clear sub.
9.overlap painting problem when scrolling down if sGrid2 is below Windows taskbar (below screen)
10.Especially, doing multi-delete is a big headache for sGrid2.I have done RecursiveDelete.It works perfect even with multi selection and multi-grouping.
11.Remove all dependance by using Paul's Subclasser and Hook.
12.Solve the lost Unicode String problem (replaced with '?' question mark) When saving Unicode string to .sgd file.
13.sGrid2 now can display Unicode,Edit Unicode,input Unicode with my wooTextbox.ocx.
To do:
Multi sort
Draw Sort arrow in code
I am sure that some bugs I don't notice,what more are you find in sGrid2?