Custom Animation for Menus |
Post Reply |
Author | |
coradinibr
Newbie Joined: 10 February 2004 Location: Brazil Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 10 February 2004 at 8:11am |
Hi, I was using Xtreme Toolkit Standard and my company changed to Professional. I am trying to set custom animation as I did with CXTCoolMenu but I cannot figure out how to do it !!! In the documentation of Xtreme Toolkit Pro, there is a sample to set the customized animation but the variable m_nAnimationType is not a member of CXTCoolMenu !!! Other information that does not match is that in the enumeration XTPAnimationType there is any definition for custom animations. I've the overriden function for the custom animation and called the CXTAnimationMemDC::SetCustomAnimation( function ), but is does not call the the function for any type of animation, even the defaults. Is it possible to set custom animation in the Professional version ? Thanks in advance. Evandro Coradini
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, in new version need to override PainrManagers:
class CXTPOfficeThemeA : public CXTPOfficeTheme{
};
and set the theme CXTPPaintManager::SetCustomTheme(new CXTPOfficeThemeA());
but in CXTPPaintManager Animate isn't declared as virtual, so add it yourself. In next version it will be fixed. virtual void Animate(CDC* pDestDC, CDC* pSrcDC, CRect rc, XTPAnimationType animationType);
Edited by oleg |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |