Dialogs like VS 2005 Add Item and Project

J

Jenbo

Hi, looking for a few pointers about dialogs forms. I would like to
have add new functionality in an app I am writing, so the user could
add a number of different items, reports, questions etc, is there an
easy way to create dialogs like the VS IDE Add Item and Add Project
dialogs, or is this done through some sort of user control,
specifically I would like to replicate the behaviour where the image of
the item goes blue when the user clicks on it like VS IDE? I am a web
developer trying to get to grips with windows forms stuff so any
suggestions would be great.

Cheers

EJ
 
H

Herfried K. Wagner [MVP]

Jenbo said:
Hi, looking for a few pointers about dialogs forms. I would like to
have add new functionality in an app I am writing, so the user could
add a number of different items, reports, questions etc, is there an
easy way to create dialogs like the VS IDE Add Item and Add Project
dialogs, or is this done through some sort of user control,
specifically I would like to replicate the behaviour where the image of
the item goes blue when the user clicks on it like VS IDE?

Check out the ListView control. That's the control used by the VS IDE.
 
J

Jenbo

Thanks for that Herfried, having only just looked at this, could you
let me know if this will do the click action I described if you know
off hand?

Thanks
 
H

Herfried K. Wagner [MVP]

Jenbo said:
Thanks for that Herfried, having only just looked at this, could you
let me know if this will do the click action I described if you know
off hand?

Yes, that's the action which is typical for listview controls (in Windows
Explorer, VS, ...). Check out the listview control's 'View' property too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top