[SOLVED]ControlGallery Ribbon init shown small |
Post Reply |
Author | |
Alex H.
Senior Member Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(0)
Posted: 10 January 2017 at 9:44am |
As you can see in the animated GIF, the gallery is shown as a small icon.... |
|
Alex H.
Senior Member Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(0)
|
I use XTP 17.3!
Any idea or option? Please help me Codejock Team :-) |
|
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
|
I have no idea if this helps or what it does, but it seems to be very popular to add this line of code:
-cpede
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
Jonas R.
Newbie Joined: 01 February 2017 Status: Offline Points: 1 |
Post Options
Thanks(0)
|
Hi Codejock Team,
we are still facing this issue. :/ Any information on how to tackle it would be really appreciated. Thanks! |
|
Alex H.
Senior Member Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(1)
|
I found a solution!
1. It is important to reset the Ribbon (Config) 2. this option helped me to solve the Problem: pGroup->AllowReduce(xtpRibbonGroupReductionDisabled); :-) |
|
Alex H.
Senior Member Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(0)
|
Unfortunately it does not work in every situation.
It looks like the serialization of ribbons has problems with DPI-Awareness? |
|
Alex H.
Senior Member Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(0)
|
is there a relation with
http://forum.codejock.com/forum_posts.asp?TID=23212&KW=DPI&title=solved-ribbon-loadcommandbars-bug ? because CXTPControlGallery::DoPropExchange also uses PX_DPI_Rect |
|
BeeJay
Groupie Joined: 12 March 2013 Status: Offline Points: 43 |
Post Options
Thanks(0)
|
any news on this?
|
|
BeeJay
Groupie Joined: 12 March 2013 Status: Offline Points: 43 |
Post Options
Thanks(0)
|
any news on this?!? Problem ist still there :( It was promised to be addressed in 18.1 - but nothing happens at all!! :(
|
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello,
Can somebody give source code, which reproduce this issue. I can't reproduce it with codesample from first post. It will be ideal if this can be inserted in our RibbonSample or other sample. Regards, Oleksandr Lebed |
|
BeeJay
Groupie Joined: 12 March 2013 Status: Offline Points: 43 |
Post Options
Thanks(0)
|
Hi Oleksandr,
sorry our application is far too huge and complex to pass it on. If you provide us the right places where to add TRACEs in the XTP source to narrow it down, we will happy to do this to help! Please refer to issue #35615 for further contact. @forum: we will let you know as soon as we know how to fix it
|
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
BeeJay, other customers also can help and interested in solution.
So in MFC RibbonSample I have added code similar to first post
Try to change this to reproduce your issues. Do I correctly understood that problem on GIF with icon in GroupPopup in tab "Start" > group "Anzeigen" ? Regards, Oleksandr Lebed |
|
agontarenko
Admin Group Joined: 25 March 2016 Status: Offline Points: 293 |
Post Options
Thanks(0)
|
Hello, During investigation of the bug I found maybe RobbonSample has same behaior in certain conditions. In sample we have couple buttons "Signature line", "Date & Time" and "Insert object", they all in "INSERT" tab. During initialization for every button was set style pControlButton->SetStyleEx(xtpButtonIconAndCaption);. This buttons works as expected. But if I to add next functions calls for save and load ribbon state: LoadCommandBars(_PROFILE_NAME); SaveCommandBars(_PROFILE_NAME); - buttons has wrong style after LoadCommandBars function call. To fix this bug I've changed DoPropExchange as below. May be this fix will to resolve your problem. Can you please to respond me, if this fix resolve your problem. FYI: For test you can to remove registry key HKEY_CURRENT_USER\SOFTWARE\Codejock Software Sample Applications\Codejock Ribbon Sample Regards, Artem Gontarenko
|
|
BeeJay
Groupie Joined: 12 March 2013 Status: Offline Points: 43 |
Post Options
Thanks(0)
|
Hi Artem,
after almost 5 years hoping to get a solution, we finally found a workaround/whatever for our specific context 1 year ago by ourselves. Do not ask me, what it was. :-) Being that, I cannot verify anymore, if your fix would solve it, too. Sorry. Thank you nevertheless. BJ
|
|
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 |