![]() |
[solved] Ribbon "LoadCommandBars" bug |
Post Reply ![]() |
Author | ||
hiro-ta ![]() Groupie ![]() Joined: 11 July 2013 Status: Offline Points: 63 |
![]() ![]() ![]() ![]() ![]() Posted: 28 November 2016 at 2:13am |
|
Hi, If you call "LoadCommandBars" or "SaveCommandBars" with the display scaling set to 150%, the ribbon display will be buggy.(See attached image) ●How to reproduce 1. Please set Windows "display scaling" to 150% 2. Open the project "RibbonSample" at VisualStudio 2010. 3. Call "LoadCommandBars" on "CMainFrame::OnCreate()" and Call "SaveCommandBars" on "CMainFrame::OnClose()"
4.Build and start. 5.Repeat start and exit.
6.Although it is normally displayed at the first startup, it is strange after the second time.(See attached image) #It might only be reproduced on Japanese version Windows. ![]() ![]()
|
||
![]() |
||
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
|
Hello,
Thank you to bringing this to our attention. I can reproduce this also with Visual Studio 2015 and 125% DPI. I will try to fix. Regards, Oleksandr Lebed |
||
![]() |
||
moser@dsd.at ![]() Newbie ![]() Joined: 24 October 2007 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
|
I have the same problem and want to use version 17.3 but we need this issue fixed. Can you tell me when we can expect a solution for this problem ? Is there a workaround without loosing the ability to save customized command bars ?
|
||
![]() |
||
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
|
Hello moser@dsd.at,
If solution is easy I will write it here. We added this task for next release - v18.0. Regards, Oleksandr Lebed |
||
![]() |
||
hiro-ta ![]() Groupie ![]() Joined: 11 July 2013 Status: Offline Points: 63 |
![]() ![]() ![]() ![]() ![]() |
|
This problem is occurring among many users. I'm worried.
I want you to fix it soon.
|
||
![]() |
||
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
|
Hello,
I'm glad to inform you about solution. The changes in file Source\Common\XTPPropExchange.cpp
Fix will be available in next v18.0. Regards, Oleksanrd Lebed |
||
![]() |
||
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
|
The same with methods PX_DPI_Size, PX_DPI_Point and PX_DPI_Rect
|
||
![]() |
||
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
|
also similar fix in CXTPControlComboBox::DoPropExchange
|
||
![]() |
||
hiro-ta ![]() Groupie ![]() Joined: 11 July 2013 Status: Offline Points: 63 |
![]() ![]() ![]() ![]() ![]() |
|
Hi,
Thank you for your response. It works well. Problem solved.
|
||
![]() |
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 |