cniquille
May 14th, 1999, 09:31 AM
Hello,
I have put on a Dialog a MSFlexGrid Control.
This Control has two columns.
I have fill the first column with the code below,
but I can not fill the second column
What do I do
VARIANT v;
VariantInit( &v );
v.vt = VT_I2;
v.intVal = 1;
while (m_pSet->IsEOF()==false)
{
m_ctrlGrid.SetFixedCols(0);
m_ctrlGrid.SetFixedRows(1);
m_ctrlGrid.SetColWidth(0,2227);
m_ctrlGrid.SetColWidth(1,2227);
m_ctrlGrid.AddItem(m_pSet->m_Langue ,v);
// I will fill the second column with m_pSet->m_Description
m_pSet->MoveNext();
}
Chrisitan Niquille
Thanks for your help
I have put on a Dialog a MSFlexGrid Control.
This Control has two columns.
I have fill the first column with the code below,
but I can not fill the second column
What do I do
VARIANT v;
VariantInit( &v );
v.vt = VT_I2;
v.intVal = 1;
while (m_pSet->IsEOF()==false)
{
m_ctrlGrid.SetFixedCols(0);
m_ctrlGrid.SetFixedRows(1);
m_ctrlGrid.SetColWidth(0,2227);
m_ctrlGrid.SetColWidth(1,2227);
m_ctrlGrid.AddItem(m_pSet->m_Langue ,v);
// I will fill the second column with m_pSet->m_Description
m_pSet->MoveNext();
}
Chrisitan Niquille
Thanks for your help