Dialogs like VS 2005 Add Item and Project

  • Thread starter Thread starter Jenbo
  • Start date Start date
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
 
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.
 
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
 
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.
 
Back
Top