Hi Gary !
Thanks for the info , but is this possible in vs.net 2003 or its only on
2005 ?
TIA
Shai
> Hi Shai,
>
[quoted text clipped - 19 lines]
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
"Gary Chang[MSFT]" - 20 Jun 2006 03:32 GMT
Hi Shai,
This solution only works under VS2005.
Thanks!
Best regards,
Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
"Gary Chang[MSFT]" - 22 Jun 2006 11:23 GMT
Hi Shai,
I got a workaround under VS2003 from our VSIP experts!
"You can do this in VS2003 as well -- project subtypes are not new in
VS2005. You just can't use MPF. You need to have a project subtype. It's
not something you can do from an addin or a macro, for example.
I advise you not to override the VSHPROPID_IconImgList property in a
project subtype. Doing so would require you to reproduce all the icons that
you do not want to override (because you can only return one image list per
project hierarchy). Override the image list property only if you want to
override ALL icons in a project subtype. Since you seem to want to provide
an overlay to decorate existing icons, then maybe you need to do this
anyway. Definitely ask for permission before reproducing someone's art
assets in your product; you never know who owns the rights to them.
To provide overrides to just a few icons in a project flavor, here's what
you should do:
__VSHPROPID: Return value
VSHPROPID_IconIndex: E_NOTIMPL
VSHPROPID_OpenFolderIconIndex: E_NOTIMPL
VSHPROPID_IconHandle: Handle of your new icon
VSHPROPID_OpenFolderIconHandle: Handle of your new icon in the
"expanded" state (if it has child items).
If you are just wanting to provide an overlay, then maybe someone else on
this alias knows how to customize the overlay icons (specified by the
VSHPROPID_OverlayIconIndex). "
Thanks!
Best regards,
Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.