![]() |
Progress Bar Marque not working with Skin |
Post Reply
|
| Author | |
MacW
Senior Member
Joined: 26 June 2007 Status: Offline Points: 253 |
Post Options
Thanks(0)
Quote Reply
Topic: Progress Bar Marque not working with SkinPosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 January 2011 at 7:18am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 January 2011 at 2:58pm |
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 January 2011 at 7:57am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 January 2011 at 8:13am |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 February 2011 at 8:16am |
|
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 |