Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - background color of RecentFileListBox
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

background color of RecentFileListBox

 Post Reply Post Reply
Author
Message
Nick View Drop Down
Groupie
Groupie


Joined: 23 July 2012
Location: United Kingdom
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nick Quote  Post ReplyReply Direct Link To This Post Topic: background color of RecentFileListBox
    Posted: 20 January 2018 at 3:25pm
Can you confirm there is an issue with the BackstagePageRecent not being themed properly?  Is there a workaround for this?
Back to Top
olebed View Drop Down
Admin Group
Admin Group
Avatar

Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 771
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 20 January 2018 at 3:37pm
I think you ask about white background of ListBox. I have seen this and it is very annoying on Dark themes. Unfortunately I can't find reason. This even not always can be reproduced but often. I will add this to our  tasks/bugs database.
Back to Top
Nick View Drop Down
Groupie
Groupie


Joined: 23 July 2012
Location: United Kingdom
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nick Quote  Post ReplyReply Direct Link To This Post Posted: 20 January 2018 at 3:54pm
yes, the white background and also the wrong foreground color and mouseover styling - it looks like it's reverting to the basic windows theme no matter what the theme actually is.
Back to Top
Nick View Drop Down
Groupie
Groupie


Joined: 23 July 2012
Location: United Kingdom
Status: Offline
Points: 28
Post Options Post Options   Thanks (1) Thanks(1)   Quote Nick Quote  Post ReplyReply Direct Link To This Post Posted: 23 January 2018 at 2:08pm
I found a bit more information:

the first time you select an office theme that is a different version of office from the current theme, the BackstageListBox theme is wrong (e.g. change from one of the office 2010 themes to one of the office 2013 themes).  But then if you select another variant from the same office version (e.g. after selecting office 2013 white, select office 2013 grey), then the BackstageListBox does adopt the correct theme.

Back to Top
Nick View Drop Down
Groupie
Groupie


Joined: 23 July 2012
Location: United Kingdom
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nick Quote  Post ReplyReply Direct Link To This Post Posted: 25 January 2018 at 3:57am
...apart from the background color that is.
Back to Top
hiro-ta View Drop Down
Groupie
Groupie


Joined: 11 July 2013
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote hiro-ta Quote  Post ReplyReply Direct Link To This Post Posted: 21 February 2018 at 6:01am
Please teach me how to change the background color of CXTPRecentFileListBox.
I want to change the color from white to theme color.

[Development environment]
Windows10 Pro Japanese
VisualStudio2010 SP1
Toolkit Pro for Visual C++ 18.2.0


Back to Top
olebed View Drop Down
Admin Group
Admin Group
Avatar

Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 771
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 19 April 2018 at 8:34am
Originally posted by hiro-ta hiro-ta wrote:

Please teach me how to change the background color of CXTPRecentFileListBox.
I want to change the color from white to theme color.

Hello,

You need to edit and rebuild Office2016.dll (Source\Styles\Office2016\)
Edit desired INI files in section  [CommandBars.Gallery]   change property "Back"

Regards,
 Oleksandr Lebed
Back to Top
hiro-ta View Drop Down
Groupie
Groupie


Joined: 11 July 2013
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote hiro-ta Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2018 at 9:38pm
Hi,

I tried how to edit ini(Office2016PowerPointColorful.ini).

[CommandBars.Gallery]
Back = 255 0 0

But the color did'nt change.





Back to Top
hiro-ta View Drop Down
Groupie
Groupie


Joined: 11 July 2013
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote hiro-ta Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2018 at 10:30pm
Back to Top
olebed View Drop Down
Admin Group
Admin Group
Avatar

Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 771
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 2018 at 4:04am
Hello hiro-ta,

Maybe your RecentFileList is transparent ?
see implementation of CXTPControlGalleryOffice2013Theme::FillControl()

[CommandBars.Gallery]   "Back"  is  CXTPControlGalleryOffice2013Theme::m_clrBack

Regards,
 Oleksandr Lebed
Back to Top
hiro-ta View Drop Down
Groupie
Groupie


Joined: 11 July 2013
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote hiro-ta Quote  Post ReplyReply Direct Link To This Post Posted: Yesterday at 7:56am
Hello olebed,

No. My RecentFileList is not transparent.

Please teach me how to specify the parameter[CXTPControlGalleryOffice2013Theme::m_clrBack].
Back to Top
olebed View Drop Down
Admin Group
Admin Group
Avatar

Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 771
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: Yesterday at 8:04am
Hello hiro-ta,

You need to set breakpoint in method 
CXTPControlGalleryOffice2013Theme::FillControl()  and see what conditions work and what color is used there.
Back to Top
hiro-ta View Drop Down
Groupie
Groupie


Joined: 11 July 2013
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote hiro-ta Quote  Post ReplyReply Direct Link To This Post Posted: Yesterday at 10:39pm
Hello olebed,

Sorry, My RecentFileList was transparent.
I do not know why  transparency is specified.
What should I do?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.109 seconds.