View Single Post
  #2 (permalink)  
Old 05-19-2008, 01:41 PM
ssanderlin's Avatar
ssanderlin ssanderlin is offline
EPMFAQ Founder/Owner
 
Join Date: Feb 2008
Location: Quakertown, PA
Posts: 161
Thanks: 0
Thanked 13 Times in 13 Posts
Default

Quote:
Originally Posted by GuyO View Post
Has anyone subclassed the Project Center Control.. I would ike to make some additions to the action and goto drop downs...
The Project Center web part (located in Microsoft.Office.Project.PWA.WebParts.ProjectCente rPart) uses an implementation of the ActiveXMenuConfig abstract class (located in Microsoft.Office.Project.PWA.WebParts) to define its menu.

You can override the ProjectCenterPart class, along with its menu. However, this will not be an easy task... you can use Reflector or a similar tool to examine the existing class. It obviously wasn't designed to be overridden, so you'll need to duplicate the code in the base class rather than just calling the base method.
__________________
Stephen Sanderlin
Founder/Owner - EPMFAQ
Principal Consultant - MSProjectExperts

If you found this message useful, please click the Thanks button in the post!

This electronic message, along with any information, advice, and opinions it contains, are mine alone and are not representative of my employer. All information is provided in "GOOD FAITH" and on an "AS IS" basis only. I provide no presentations or warranties, express or implied, including implied warranties of fitness for a particular purpose, merchantability, title, and noninfringement. I strongly advise you to extensively test any changes, workarounds, or techniques described herein on a development system prior to implementation in a production environment, and you are hereby notified that I bear no responsibility whatsoever for any loss, harm, or otherwise negative outcomes resulting from your actions, whether or not said actions were a result of this electronic message, directly or indirectly.
Reply With Quote