473,418 Members | 3,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,418 software developers and data experts.

Dialog Box & Menu Fonts for Russian application

Hello,
I have a multilingual application, to which I am adding Russian. The prolem
is that all the dialog boxes & Menus are showing junk characters instead of
Cyrillics!!
while my window contents are working fine. I tried setting the Regional
options to Russion, but still the same problem, I also put the font of the
dialog box to be Arial Unicode MS but that didn't help.
What do I have to do to make my Dialog boxes and fonts come up in Russian?
Thanks a lot
Srishti
Nov 17 '05 #1
1 1917
Hi Srishti,
I have a multilingual application, to which I am adding Russian. The prolemis that all the dialog boxes & Menus are showing junk characters instead ofCyrillics!! while my window contents are working fine.


Based on your description, the Russion characters which you specified in
your dialog box's control and menus will be displayed as garbled text while
the Russion text in the other window contents has no problem, please let me
know if I have misunderstood anything.

If so, I think the problem is you havn't specify the Russian language,
sub-language and codepage in the resource script before the corresponding
resource statements which show the garbled text in run-time.

In this scenario you can modify your application resource script(.rc file)
to specify the correct language, sub-language and codepage for these
resource statements in question, for example:
...
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) //if you define
the U.S. English as your projcet's Resource language
#ifdef _WIN32
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
#pragma code_page(1251)
#endif //_WIN32
...
////////////////////////////////////////////////////////////////////////////
/
//
// Dialog
//

IDD_ABOUTBOX DIALOGEX 0, 0, 235, 55
...

By the wat, I suggest you can also take a look on the following newsgroup
threads, which discussed the similar issues:
http://groups-beta.google.com/group/...ies/browse_frm
/thread/6235aba1b29e3876/d470e09d7e8b8b3e?q=LANGUAGE+LANG_RUSSIAN&rnum=4&hl =
en#d470e09d7e8b8b3e

http://groups-beta.google.com/group/...owse_frm/threa
d/da9e813e160eb214/01f44ce2f917f463?q=LANGUAGE+LANG_RUSSIAN&rnum=27&h l=en#01
f44ce2f917f463
Hope this helps!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default...sdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: Michel Claveau - abstraction méta-galactique non | last post by:
Hi ! If Python is Ok with Unicode, why the next script not run ? # -*- coding: utf-8 -*- def режим(toto): return(toto*3)
1
by: Ritesh | last post by:
Hi!!! I am making a GUI based application using Visual C++ 6.0. I have started making the application by using the ‘MFC AppWizard(exe)'. It's a Dialog based application. I have also created the...
6
by: Jim Lawton | last post by:
I am trying to achieve a simple page layout using only divs and css. I know that people bad mouth IE for non-conformance, but in this case IE's(6.0)behaviour is entirely the way I expect, and Gecko...
2
by: Stuart Norris | last post by:
Dear Group, I am new to c# and windows form designer - coming from a Motif background. I am attempting to develop an application for a touch screen and I need to have a menu system with a...
2
by: Ross Noe via .NET 247 | last post by:
(Type your message here) -------------------------------- From: Ross Noe I created an XML file using ASP that has Russian characters. Forsome reason ASP.Net doesn't read the Russian...
5
by: Frank Gewalt | last post by:
Hi My problem is that unicode fonts like cyrillic fonts are not shown correctly in combo boxes with Windows 98. I'm using 'MS Sans Serif' and 'Tahoma' fonts. Has somebody a solution for that?
7
by: Robert | last post by:
Hello, I'm using Pythonwin and py2.3 (py2.4). I did not come clear with this: I want to use win32-fuctions like win32ui.MessageBox, listctrl.InsertItem ..... to get unicode strings on the...
1
by: Edward | last post by:
I created a simple CSS layout (code and example below) for bloggin/writing but ran into five issues that I need help with: 1. How do I get rid of the right-margin red line on the last three...
1
by: =?Utf-8?B?QmVuIEM=?= | last post by:
I'm getting dialog boxes from a variety of applications appear very distorted. They are often extremely large covering all the screen whilst the main application appears normally. eg. This happens...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.