![]() |
xtpThemeOffice2007 problem |
Post Reply ![]() |
Author | |
idler ![]() Groupie ![]() Joined: 11 July 2007 Location: Russian Federation Status: Offline Points: 11 |
![]() ![]() ![]() ![]() ![]() 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. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
idler ![]() Groupie ![]() Joined: 11 July 2007 Location: Russian Federation Status: Offline Points: 11 |
![]() ![]() ![]() ![]() ![]() |
tnx!
|
|
![]() |
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 |