Print Page | Close Window

Showstopper: XAML rendering changed with XTP17

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=22751
Printed Date: 05 October 2024 at 5:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Showstopper: XAML rendering changed with XTP17
Posted By: BeeJay
Subject: Showstopper: XAML rendering changed with XTP17
Date Posted: 09 October 2015 at 5:12am
XTP17 Beta-3 renders differently than XTP 16.4:



(it seems to use another font than the control's UI font)

here is the markup code
uploads/7972/Markup.zip" rel="nofollow - uploads/7972/Markup.zip



Replies:
Posted By: BeeJay
Date Posted: 09 October 2015 at 5:56am
Usage of res://#<IconNumber> throws exception in XTP17 (XTP16.4 it works well)

<Image Grid.Column='1' Margin='6, 6, 6, 6' Source='res://#123'/>")

(the resource icon with ID 123 does exist in our .exe, of course)

MarkupPad 17 Beta3 crashes.

Reason:

BOOL CXTPMarkupGdiPlusImage::LoadIcon(const XTP_URI& uri, int nWidth)
{
[...]
    if( lpszResource[0] == _T('#'))
[...]

crashes in this case when lpszResource is not a real LPCTSTR but contains a MAKEINTRESOURCE value (see by ParseResUri).

The code must be fixed as follows:

   if (!IS_INTRESOURCE(lpszResource) && lpszResource[0] == _T('#'))




Posted By: astoyan
Date Posted: 12 October 2015 at 2:45pm
Thank you for reporting this. Both problems have been addressed and fixed.
Regards,
  Alexander Stoyan


Posted By: adrien
Date Posted: 26 October 2015 at 9:53pm
Hi

this bug is blocking all kinds of things here, can you post a fix please so we can patch our XTP, or let us know when we can expect a fixed release?


-------------
http://www.wingate.com - http://www.wingate.com



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net