473,698 Members | 2,196 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1939
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_RE SOURCE_DLL) || defined(AFX_TAR G_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/6235aba1b29e387 6/d470e09d7e8b8b3 e?q=LANGUAGE+LA NG_RUSSIAN&rnum =4&hl=
en#d470e09d7e8b 8b3e

http://groups-beta.google.com/group/...owse_frm/threa
d/da9e813e160eb21 4/01f44ce2f917f46 3?q=LANGUAGE+LA NG_RUSSIAN&rnum =27&hl=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
2120
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
2657
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 menu bar (and menu items) using the menu editor. I have also managed to display the menu bar in the dialog box. However, I don't know how I can link the menu items to my code. For example: when I click on file menu -> exit nothing happens … how...
6
5343
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 (Firefox/1.0) is, well, not. I have a left menu div, and a right content div, float left, the width of which is auto. My intention is that the content should fill the space to the right of the menu. In IE putting a float right div in the...
2
2842
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 larger font to allow ease of selection. I have used OwnerDraw menus implementing the DrawItemEventHandler and
2
2885
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 charactersproperly. Is .net capable of reading Russian characters from anXML file created with ASP? The application that the users use toupdate the XML file is still written in ASP and not in ASP.Net.Thanks in advance. ----------------------- Posted by a...
5
2459
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
4200
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 screen - best results according to the platform/language settings (mainly XP Home, W2K, ...). Also unicode strings should be displayed as nice as possible at the console with normal print-s to stdout (on varying platforms, different
1
2669
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 right-boxes in Internet Explorer? 2. How can I put a 4px margin BETWEEN the right-boxes, "border-top: 4px" didn't do it and if I put in a "margin-top: 4px;" it shows the red underneath instead of the brown background graphic.
1
1154
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 in zone alarm when applications want access to the internet, or print dialog boxes, and the shutdown menu in XP appears with massive font at the top. Amoungst others. I did change the font folder whilst creating a wedding invite, and there are...
0
8674
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9157
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8895
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8861
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7725
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4369
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3046
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2329
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.