Cyber-EE
asked on
afxMessageBox problem with hebrew in vista
Hi,
I have an application that uses in many places a AfxMessageBox to display messages to the user.
Until now i did not have any problems displaying the messages in english and hebrew. If i was in Hebrew mode then i changed the AfxMessage flags to Flags |= (MB_RIGHT|MB_RTLREADING) - i override the DoMessageBox method of CwinApp;
On vista i have a problem that messages in hebrew sometimes do not fit the window size and are cut in the middle.
This is very strange because on other OS i have no problem.
I have an application that uses in many places a AfxMessageBox to display messages to the user.
Until now i did not have any problems displaying the messages in english and hebrew. If i was in Hebrew mode then i changed the AfxMessage flags to Flags |= (MB_RIGHT|MB_RTLREADING) - i override the DoMessageBox method of CwinApp;
On vista i have a problem that messages in hebrew sometimes do not fit the window size and are cut in the middle.
This is very strange because on other OS i have no problem.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I did not change the font or size.
>>This is very strange because on other OS i have no problem.
then seems like a bug in vista.
You can go for a custom control then.
please have a look into links provided by jaime_olivares.
regards,
James
then seems like a bug in vista.
You can go for a custom control then.
please have a look into links provided by jaime_olivares.
regards,
James
Forced accept.
Computer101
EE Admin
Computer101
EE Admin
have you changed the font you have been using in past or its size?
In Vista, we use a different font for it being cleartype compliant.