[Win32 Lib] LV control: how to delete column
- Posted by prasanta at WRITEME.COM Mar 22, 2001
- 457 views
Hi, I am using Win32lib V051 and XIDE. I am trying to create create a LV in a Modal window, in which the columns will be dynamic. Depending on certain other fields on the parent window, I would like to change the no of columns and their names before opening the modal window. I can successfully create the new columns using insertListViewColumn the first time, but how do I delete the columns created and create some new ones ? Suppose first time I have 4 columns, then the user chooses to close the modal window, change the input and now I need to have 3 columns, how do I delete the 4 th one created last time ? Regards, Prasanta.