![]() |
Progress Bar Marque not working with Skin |
Post Reply ![]() |
Author | |
MacW ![]() Senior Member ![]() Joined: 26 June 2007 Status: Offline Points: 253 |
![]() ![]() ![]() ![]() ![]() Posted: 25 January 2011 at 4:40am |
Hi, I'm using the MFC version of XTP version 13.4
My app is 32 bit running on Windows 7 64-bit. Visual Studio 2010. When I enable Office 2007 skins in my dialog-based app the progress bar marque style is not working. If I comment out the call to XTPSkinManager()->LoadSkin(... the marque progress bar works. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Do you call LoadSkin before you create dialog ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
MacW ![]() Senior Member ![]() Joined: 26 June 2007 Status: Offline Points: 253 |
![]() ![]() ![]() ![]() ![]() |
Above is what I'm doing. The dialog appears skinned and all that, just the marquee is not working. When I comment out the call to LoadSkin, the marquee works. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
But do you call it in constructor of this dialog ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
MacW ![]() Senior Member ![]() Joined: 26 June 2007 Status: Offline Points: 253 |
![]() ![]() ![]() ![]() ![]() |
No, I call this once in InitInstance in my application.
Do I need to load the skin in every dialog? I don't think so. As I said, the dialog IS skinned, but the marquee does not work. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Please send PBM_SETMARQUEE message manually: m_wndProgress.ModifyStyle(0, PBS_MARQUEE); m_wndProgress.SendMessage(PBM_SETMARQUEE, 1, 100); |
|
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 |