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 General Discussion » Tab names got truncated if it is in Japanese language. Collapse All
Subject Author Date
MUKESH GUPTA Dec 6, 2012 - 1:33 AM

Hi Forum,

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 required i can sent it again.

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

Appreciate your support.

Regards,
Deepak

MUKESH GUPTA Jan 28, 2013 - 2:50 AM

Hi,


Any update of the fix this problem..

MUKESH GUPTA Jan 21, 2013 - 11:55 PM

Hi Team,

Any update on this issue. We and our lots of customers are waiting for the fix of this problem.

Request you to resolve this problem soon.


Thanks

married Dec 17, 2012 - 1:03 AM

Dear Mukesh Gupta, we are very sorry about the break in the technical support of our products. Currently, work has started with a new team and our work will resume in full soon. We are still working with your request. We ask for your forgiveness. A solution will be found soon.



Prof-UIS Team 

MUKESH GUPTA Dec 12, 2012 - 11:32 PM

Is someone looking into this issue and can provide support to resolve this problem.