How to use List Control in MFC C++( using list control in MFC C++ in detail)

Поділитися
Вставка
  • Опубліковано 28 гру 2024

КОМЕНТАРІ • 8

  • @mirniazahmed7708
    @mirniazahmed7708 Рік тому +1

    How can I add the column and row dividers here?

    • @Technology21
      @Technology21  Рік тому

      you can add column by use InsertColumn(ncolumn,label,nFormat==0,nWidth)
      this is a member function of list control and use member function InsertItem by
      int nitem=list->InsertItem(0,text) for first column of a row and use member function SetItemText(nitem,ncolumn,text)
      Finally, I advise you to watch the video again, thank you 😃

    • @mirniazahmed7708
      @mirniazahmed7708 Рік тому +1

      @@Technology21 Actually, I have understood the adding column part. I wanted to know If I can create border of the columns like creating them as cells of excels by giving them visual separators. In the video, you have created a table, but there is no visual line which separates them.

    • @Technology21
      @Technology21  Рік тому

      @@mirniazahmed7708 I think this is not possible in the original tool, but you can use a modified tool by following the following link www.codeproject.com/Tips/811180/A-Tiny-Custom-List-Control

    • @Technology21
      @Technology21  Рік тому

      @@mirniazahmed7708 You can also make a frame for the table in this article
      learn.microsoft.com/en-us/cpp/mfc/reference/clistctrl-class?view=msvc-170#create

  • @siva_c5034
    @siva_c5034 Рік тому +1

    How to send list control data to files

    • @Technology21
      @Technology21  Рік тому

      here how to connect microsoft access database with a MFC program i think it is useful to save data in microsoft access database file
      ua-cam.com/video/OQLkUH4cmzI/v-deo.html&si=EnSIkaIECMiOmarE