DataGrid Change size of colum
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
-
Hello, I am working with CDataGrid and I can not found how to change size of each colunm ! From resource I can change the size but it will be aplicated on all colunm but I need that each colunm have a other size! Thank you to give me some tip !
AutreChien
-
Datagrid control, Subclass the datagrid header control. In that subclass, the header structure having column width properties. Here you can change for each and every column width.
I have check the header and the only fonction that I have founded is : void put_DefColWidth(float newValue) { static BYTE parms[] = VTS_R4 ; InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue); } but there no other fonction to change each colunm ! header files name is DataGrid1.h !
AutreChien