[Win32 Lib] LV control: RE: [Win32 Lib] LV control: how to delete column
- Posted by prasanta at WRITEME.COM Mar 23, 2001
- 436 views
Jonas, Thanks for your help. It worked perfectly. One more questeion. Whenever I create one LV, the first column is always created with a default width. I can only change the label of the first column using Win32Lib. How do I change the default width of the first column? Regards, Prasanta. ---- you wrote: > 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. >