Print Page | Close Window

xtpThemeOffice2007 problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=9903
Printed Date: 14 May 2024 at 11:46pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: xtpThemeOffice2007 problem
Posted By: idler
Subject: xtpThemeOffice2007 problem
Date Posted: 16 March 2008 at 1:55pm
Hi,

In dialog-based app I set xtpThemeOffice2007 theme:

XTPPaintManager()->SetTheme(xtpThemeOffice2007);
or
CXTPPaintManager::SetTheme(xtpThemeOffice2007);

and then I show menu:
int menuResult = CXTPCommandBars::TrackPopupMenu(pSubMenu,
                    TPM_NONOTIFY | TPM_RETURNCMD | TPM_LEFTALIGN |TPM_RIGHTBUTTON, pos.x, pos.y,
                    this, NULL);

i've seen this:



what is my problem?

if i set theme xtpThemeWhidbey TrackPopupMenu is valid, but i need xtpThemeOffice2007 theme.



Replies:
Posted By: Oleg
Date Posted: 16 March 2008 at 3:10pm
Hi,
 
You need add office2007 bitmaps to your application.
 
Add in res\app.rc2 file
#include "Styles\Office2007Blue\Office2007Blue.rc"


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: idler
Date Posted: 16 March 2008 at 3:26pm
tnx!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net