I am wondering if it is possible to easily duplicate the ListView control
behavior in the Windows explorer when a new folder is defined. I am talking
about the scenario where the user wants to create a new folder, the control
displays a folder called New Folder which is highlighted inside a rectangle
so that the user can easily change the name of New Folder. That is a really
slick interface but I know that Microsoft is famous for having slick
interfaces that are very difficult for most developers to implement. I am
wondering if the rectangle is a special owner-drawn customized
implementation. Please advise. Thanks for your help.

Best Regards,

Paul J. Lay

Re: ListView Control by Lloyd

Lloyd
Wed Jun 02 17:23:31 CDT 2004

What you are looking for is the LabelEdit property of the listview.

There are some caveats so it would be best to read the MSDN docs on this.

I don't think you can do exactly what you want but you can create a listview
item that the user can modify. There were methods in Classic VB and C++ to
start the editing process but I cannot find the same in dot.net.

Lloyd Sheen

"Paul J. Lay" <pjlay@msn.com> wrote in message
news:eOyNC2OSEHA.3432@TK2MSFTNGP11.phx.gbl...
> I am wondering if it is possible to easily duplicate the ListView control
> behavior in the Windows explorer when a new folder is defined. I am
talking
> about the scenario where the user wants to create a new folder, the
control
> displays a folder called New Folder which is highlighted inside a
rectangle
> so that the user can easily change the name of New Folder. That is a
really
> slick interface but I know that Microsoft is famous for having slick
> interfaces that are very difficult for most developers to implement. I am
> wondering if the rectangle is a special owner-drawn customized
> implementation. Please advise. Thanks for your help.
>
> Best Regards,
>
> Paul J. Lay
>
>



Re: ListView Control by Lloyd

Lloyd
Wed Jun 02 18:08:41 CDT 2004

The method I was thinking of is the BeginEdit method of the ListViewItem.
Create your item with the default text and then call BeginEdit to start the
editing by the user.

Lloyd Sheen

"Lloyd Sheen" <sqlguyremoveallofthis@tostopspamhotmail.com> wrote in message
news:Drsvc.331951$0qd.96555@twister01.bloor.is.net.cable.rogers.com...
> What you are looking for is the LabelEdit property of the listview.
>
> There are some caveats so it would be best to read the MSDN docs on this.
>
> I don't think you can do exactly what you want but you can create a
listview
> item that the user can modify. There were methods in Classic VB and C++
to
> start the editing process but I cannot find the same in dot.net.
>
> Lloyd Sheen
>
> "Paul J. Lay" <pjlay@msn.com> wrote in message
> news:eOyNC2OSEHA.3432@TK2MSFTNGP11.phx.gbl...
> > I am wondering if it is possible to easily duplicate the ListView
control
> > behavior in the Windows explorer when a new folder is defined. I am
> talking
> > about the scenario where the user wants to create a new folder, the
> control
> > displays a folder called New Folder which is highlighted inside a
> rectangle
> > so that the user can easily change the name of New Folder. That is a
> really
> > slick interface but I know that Microsoft is famous for having slick
> > interfaces that are very difficult for most developers to implement. I
am
> > wondering if the rectangle is a special owner-drawn customized
> > implementation. Please advise. Thanks for your help.
> >
> > Best Regards,
> >
> > Paul J. Lay
> >
> >
>
>