Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Tab names got truncated if it is in Japanese language. Collapse All
Subject Author Date
MUKESH GUPTA Apr 4, 2013 - 2:32 AM

We were using ProfUIS version 2.54 and have upgraded to the latest version 2.91.
I built all the static and dll targets of 2.91 on VS2008.

We have not faced this issue with Profuis Version 2.54 but after upgradation to the latest version 2.91 we faced this issue.
Earlier we have already raised the same problem with ProfUI support and didn’t got any satisfactory solution of this problem from ProfUi side.

please see the link "http://www.prof-uis.com/prof-uis/tech-support/support-forum/the-tab-text-gets-trimmed-if-it-is-in-a-language-other-than-english-69357.aspx" For our earlier concern/Issue.

During our investigation we have found problem with Profui code, so we have decied to crete new test application to verify it.
We have prepared test application and found problem in Profui code. following are code of our test application.

We have derived our class from CExtTabPageContainerOneNoteWnd & then have overridden OnCreate(LPCREATESTRUCT lpCreateStruct) which has been implemented as :-

int classname::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if( CExtTabPageContainerOneNoteWnd::OnCreate(lpCreateStruct) == -1 )
return -1;
OrientationSet( __ETWS_ORIENT_LEFT );

CCreateContext* pContext = NULL;

if (lpCreateStruct != NULL)
pContext = (CCreateContext*)lpCreateStruct->lpCreateParams;

CString strTabname = "Tab One";
if( ! m_view1->Create(NULL,_T(""),WS_CHILD | WS_VISIBLE,CRect(20,20,1,1), this,ID_VIEW1, pContext))
{
ASSERT( FALSE );
return -1;
}
if( ! PageInsert(m_view1->GetSafeHwnd(),strTabname))
{
ASSERT( FALSE );
return -1;
}
if( ! m_View2->Create(NULL,_T(""),WS_CHILD | WS_VISIBLE,CRect(30,30,1,1),this,ID_VIEW2, pContext))
{
ASSERT( FALSE );
return -1;
}
strTabname = "Tab Two";
if( ! PageInsert(m_View2->GetSafeHwnd(),strTabname))
{
ASSERT( FALSE );
return -1;
}
}

NOTE:- To replicate this issue write tab name in JPN charactes in the above code.

Here, m_view1 & m_view2 are instances of classes derived from CView class.

The above code creates tab which are aligned vertically. The problem is that if the text to be displayed is in a language other than English, the text gets trimmed and "..." is displayed in the end.
If the above code execute on JPN machine then Text gets trimmed and "..." looks in the end of the tab.

Earlier We have sent our test application to Profui support, But if you need it again we can sent it.

Environment on which we have replicated this issue:-
O/S type and Version - Windows server 2003/R2
Any MUI JPN machine.


We are facing this problem for a long Time, Request you to look in to this issue on Top priority as our lots of customer facing this problem and waiting for the Solution of this problem.

Thanks

Art Wilkes Jun 11, 2013 - 10:12 AM

In release 2.94 we have corrected a number of truncation problems.
But a faster and surer way to get this fixed would be to contact support@prof-uis.com
Then is we could I have a copy of the test program we would quickly get you a fix.
I’ll provide a dropbox location after you contact support@prof-uis.com.

MUKESH GUPTA Apr 11, 2013 - 3:52 AM

Hi Team,

Is there any support available from PROFUI side to solve the problems or we are wasting our time to post messages here.

MUKESH GUPTA Apr 9, 2013 - 2:02 AM


Hi Team,

Any body is looking into this issue.
Please take it on priority as we are facing this problem for a long time.