Acquiring Graphical Indicator as an Image

C

Cole

I'm building a toolbar with a colleague and am looking to use a graphical
indicator from a list of icons within MS Project 2007. We need to build a
ImageList object. In order to do that, we were looking to retrieve a
graphical indicator as an Image not as an enum
(Microsoft.Office.Interop.MSProject.PjIndicator).

Here's some simple code to explain what I mean .

ImageList imgList = new ImageList();

imgList.Images.Add(Indicator1);

imgList.Images.Add(Indicator2);

imgList.Images.Add(Indicator3);

Could anyone point me in the right direction on how to achieve this?
 
R

Roy G

if you use Project Server 2007 you can find all graphical indicators on the
SharePoint Server (usually) under "C:\Program Files\Common Files\Microsoft
Shared\web server extensions\12\TEMPLATE\LAYOUTS\PWA\IMAGES".
The 1st indicator is "cf_0p.gif" *note that on Project Professional the 0th
indicator is blank and the green circle is actually indexed 1 so do the math
:).

Hope this helps.
Roy
 

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