|
|
|
|
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.
Subject |
Author |
Date |
|
JALADY Christophe
|
Mar 13, 2006 - 2:06 AM
|
On an Edit text field, the Alt + Number combination (for example Alt+0216 for character ’Ø’) seem’s broken, except if we are on a Dialog window (on a simple view, this doesn’t work). Have you an issue ?
|
|
Technical Support
|
Mar 14, 2006 - 2:25 AM
|
We tried to reproduce this with our SDIDOCVIEW sample. A CSDIDOCVIEWView class is derived from MFC’s CView class. We just added a WM_CREATE standard Windows message handler to CSDIDOCVIEWView and created two edit controls in it: int CSDIDOCVIEWView::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CView::OnCreate(lpCreateStruct) == -1)
return -1;
// TODO: Add your specialized creation code here
CEdit * pEdit1 = new CEdit;
VERIFY( pEdit1->Create(
WS_CHILD|WS_VISIBLE|WS_BORDER|ES_AUTOHSCROLL,
CRect(10,10,200,30), this, 1 ) );
pEdit1->SetWindowText( _T("CEdit") );
CExtEdit * pEdit2 = new CExtEdit;
VERIFY( pEdit2->Create(
WS_CHILD|WS_VISIBLE|WS_BORDER|ES_AUTOHSCROLL,
CRect(10,40,200,60), this, 2 ) );
pEdit2->SetWindowText( _T("CExtEdit") );
return 0;
} We found no problems with entering character codes in both edit windows.
|
|
JALADY Christophe
|
Mar 14, 2006 - 2:58 AM
|
Sorry it doesn’t work for me ....
here some precisions:
- I try on a French Windows XP system with an without SP2. (without means "no SP") - I use MSVC6 to compile your example from sources and i have the same bug: It’s working on a dialog but not on a simple view.
And more: I try your exemple "All_Prof-UIS_Samples-m.zip" (win32) downloaded from your web site’s main page and it doesn’t work: In the example "SDIDOCVIEW", in the DockView "Editor", I try "Alt+0216" and it give me ’?’ characters instead of ’Ø’.
|
|
Technical Support
|
Mar 14, 2006 - 5:52 AM
|
Thank you for the bug report. The problem was in the message pre-translation of the menu bar in the CExtMenuControlBar::TranslateMainFrameMessage() virtual method that was invoked from each CMainFrame::PreTranslateMessage() virtual method. The bug is fixed and this update will be available in the next minor release.
|
|
Pablo van der Meer
|
Mar 31, 2006 - 3:33 AM
|
Great! But how did you fix it and how can we workaround this problem in existing applications?
|
|
Technical Support
|
Mar 31, 2006 - 8:47 AM
|
We just checked this again and must say that this problem is fixed in Prof-UIS 2.53 as we said earlier. You can download our samples and make sure that this is the case yourself.
|
|
JALADY Christophe
|
Mar 14, 2006 - 6:43 AM
|
|
|