EPMFAQ Forums - Connect with the EPM Community  

Go Back   EPMFAQ Forums - Connect with the EPM Community > Microsoft Project Forums > Project 2007 Development


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-29-2008, 12:25 PM
Junior Member
 
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Subclass the Project Center Control

Has anyone subclassed the Project Center Control.. I would ike to make some additions to the action and goto drop downs...








Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 05-19-2008, 12:41 PM
ssanderlin's Avatar
EPMFAQ Founder/Owner
 
Join Date: Feb 2008
Location: Quakertown, PA
Posts: 145
Thanks: 0
Thanked 11 Times in 11 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -4. The time now is 11:11 PM.


Powered by: vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Ad Management by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24