Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - [solved] V17.1 Messagebox: Text is truncated
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[solved] V17.1 Messagebox: Text is truncated

 Post Reply Post Reply
Author
Message
iamgtd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 February 2009
Status: Offline
Points: 131
Post Options Post Options   Thanks (1) Thanks(1)   Quote iamgtd Quote  Post ReplyReply Direct Link To This Post Topic: [solved] V17.1 Messagebox: Text is truncated
    Posted: 12 April 2016 at 2:26am
In some cases the text in a skinned messagbox is truncated. It depends of the length of the text. If the text reaches to the right border in the unskinned messagebox then it could be that the last word of the text in the skinned messagebox is wrapped to the next line. But this new line isn't shown.

One screenshot is with skinning and the other one is without skinning. In the skinned messagebox is the last word "C++" missing.


---------

OS: Win 10 64 bit

Codejock Version 22.1 ActiveX

MS Visual Studio 2022 - C#

---------
Back to Top
iamgtd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 February 2009
Status: Offline
Points: 131
Post Options Post Options   Thanks (0) Thanks(0)   Quote iamgtd Quote  Post ReplyReply Direct Link To This Post Posted: 12 April 2016 at 3:03am
Workaround is to add one space at the end of the text.
---------

OS: Win 10 64 bit

Codejock Version 22.1 ActiveX

MS Visual Studio 2022 - C#

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


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 13 April 2016 at 3:12pm
Hello,

Can't reproduce this issue with current version of code, may be this was fixed.
In SkinControls C# codejock sample, with 100-125-150-200% DPI   I have used next code :
private void buttonSample_Click(object sender, EventArgs e)
{
   MessageBox.Show("Codejock is a leading provider of components and controls Visual C++", this.Text, 
   MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
Regards,
 Oleksandr Lebed
Back to Top
iamgtd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 February 2009
Status: Offline
Points: 131
Post Options Post Options   Thanks (0) Thanks(0)   Quote iamgtd Quote  Post ReplyReply Direct Link To This Post Posted: 14 April 2016 at 1:43am
I can reproduce this issue with different operating systems. Win7 and Windows Server 2008R2 and using 100% DPI. Both computer are virtual machines (VMWare).
---------

OS: Win 10 64 bit

Codejock Version 22.1 ActiveX

MS Visual Studio 2022 - C#

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


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 14 April 2016 at 5:28am
I have tested with old code  from v17.1  and also reproduced even on 125% DPI. I think this issue has been already fixed. 
Back to Top
iamgtd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 February 2009
Status: Offline
Points: 131
Post Options Post Options   Thanks (0) Thanks(0)   Quote iamgtd Quote  Post ReplyReply Direct Link To This Post Posted: 14 April 2016 at 6:25am
Thumbs Up Thank you!

We are still waiting for v17.2 with all the fixes.
---------

OS: Win 10 64 bit

Codejock Version 22.1 ActiveX

MS Visual Studio 2022 - C#

---------
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.