Click here to Skip to main content
15,894,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using vs2008. I can fetch the cmshflexgrid from the toolbox.But i don't know how to insert values and column names in that.
Thanks in Advance

CoderDinesh
Posted
Updated 8-Aug-11 23:31pm
v2

1 solution

create an member variable for this using class-wizard then you will have membervariable.SetTextMatrix(row,col,"VAlue");
Let m_CtrlGrid be the member varibale then
if in order you want to insert means
for(int i=0;i<m_CtrlGrid.GetRows();i++)
{
for(int j=0;j<m_CtrlGird.GetCols(0);j++)
{
m_CtrlGird.SetTextMatrix(i,j,"Value");
}
}
 
Share this answer
 
Comments
coderDinesh 19-Aug-11 8:54am    
I am not getting the function named SetTextMatrix.In the cmsflexgrid.cpp file is empty.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900