Home > Software engineering >  How do you draw this interface
How do you draw this interface

Time:10-02


How do you draw this interface using MFC, a great god guide,

CodePudding user response:

In ListCtrl

CodePudding user response:

Look at the bottom of * more like CMsDgridCtrl controls

CodePudding user response:

https://www.codeproject.com/Articles/7370/CGridCtrl

CodePudding user response:

This can be done with listcontrol controls directly

CodePudding user response:

Create ListCtrl, delete in addition to the List Control all the other controls,
A variable m_listctrl,
Then in ListCtrlDlg. CPP BOOL CListCtrlDlg: : OnInitDialog (), the initialization code is added to the

M_listctrl. InsertColumn (0, "student id");//add the column name

Reached m_listctrl. SetColumnWidth (0);//set the column width

M_listctrl. SetExtendedStyle (LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES);//set extension format, the entire line selection, grid lines

for(int i=0; i<5; I++)
{
//add item (5), item exactly the same as
}

CodePudding user response:

The use of the MFCGridCtrl http://blog.csdn.net/wilsonke/article/details/9203583

CodePudding user response:

Listctrl points in minutes

CodePudding user response:

Create ListCtrl, delete in addition to the List Control all the other controls,

CodePudding user response:

List Ctrol controls to add and delete rows
  • Related