473,394 Members | 1,866 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,394 software developers and data experts.

System caption

Hi all.
Is there a way to retrieve captions of system buttons (i.e: Ok, Yes, No,
Cancel, Abort, Retry, Ignore that, for italian o.s. are Ok, Si, No, Annulla,
Esci, Riprova, Ignora)?
Thanks in advance.

W
Nov 20 '05 #1
7 1556
Hi Wally,

You are in a strange place in my OE in this newsgroup.

However you should use in your program mostly the messageresults and than
just the English version. (As I assume you are using the English VS.net
version)

http://msdn.microsoft.com/library/de...classtopic.asp

The globalization and culture setting from the users computer sets it
normaly to the right language.

I hope this helps?

Cor
Nov 20 '05 #2
* "Cor Ligthert" <no**********@planet.nl> scripsit:
However you should use in your program mostly the messageresults and than
just the English version. (As I assume you are using the English VS.net
version)

http://msdn.microsoft.com/library/de...classtopic.asp

The globalization and culture setting from the users computer sets it
normaly to the right language.


.... for the messagebox, but not if you have a custom cancel or ok
button.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3
> > However you should use in your program mostly the messageresults and
than
just the English version. (As I assume you are using the English VS.net
version)

http://msdn.microsoft.com/library/de...classtopic.asp
The globalization and culture setting from the users computer sets it
normaly to the right language.


... for the messagebox, but not if you have a custom cancel or ok
button.

Can you give me a sample of that?

Cor
Nov 20 '05 #4
"Cor Ligthert" <no**********@planet.nl> ha scritto nel messaggio
news:ea**************@TK2MSFTNGP10.phx.gbl...
However you should use in your program mostly the messageresults and than just the English version. (As I assume you are using the English VS.net version)

http://msdn.microsoft.com/library/de...classtopic.asp

The globalization and culture setting from the users computer sets it
normaly to the right language.


... for the messagebox, but not if you have a custom cancel or ok
button.

Can you give me a sample of that?

Cor


If I use System.Windows.Forms.MessageBox method
buttom vbIgnore (for example) assume caption of o.s. language ("Ignore" in
english, "Ignora" in italian and so on). I need to make the same thing for
my custom buttom on a form

W

Nov 20 '05 #5
* "Cor Ligthert" <no**********@planet.nl> scripsit:
The globalization and culture setting from the users computer sets it
normaly to the right language.


... for the messagebox, but not if you have a custom cancel or ok
button.

Can you give me a sample of that?


Create a form, place a button on it, set it as 'CancelButton'. How to
make the caption local-aware without adding ressources for all the
languages. AFAIR there was a window "template" in MFC that provided the
dialog standard buttons with local-aware captions.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #6
Hi Herfried and Wally,

Now I see what you mean, the enum to all texts in the Framework?

Cor
Nov 20 '05 #7
* "Cor Ligthert" <no**********@planet.nl> scripsit:
Now I see what you mean, the enum to all texts in the Framework?


Something like 'SystemTexts.OKButton' or 'SystemText.CancelButton'...

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #8

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

Similar topics

0
by: stanley j mroczek | last post by:
System.Data.SqlClient.SqlException: General network error. Check your network documentation. I know that this is not much to go on. But I don't know where to start. the program updates 186 records...
8
by: Wally | last post by:
I would like to have an image with a caption displayed below it. The size of the image will vary. The caption should not extend beyond the width of the image. How can I cause the text of the...
2
by: Greg Bacchus | last post by:
Hi, I'm getting an exception that really has me stumped. It's sporadic at best, it's only happened a handful of times. This particular time it happened when the user pressed 'Alt-S' to save the...
2
by: Phil Stanton | last post by:
When designing a new form or report, the Default ForeColor is often something like -2147483640 which is the colour of Windows text (possibly black) and the default backColor is -2147483643...
1
by: altacct | last post by:
I've got a multi-page subform with a tab control on one of the pages. The code that moves you from page three to page four, which is where the tab is, changes the tab captions according to some...
2
by: Wally | last post by:
Hi all. I need to retrieve caption of system buttons. For example: in italian o.s. Cancel button is "Annulla", in english o.s. it is "Cancel" and so on. I need to install my application on...
8
by: Wally | last post by:
Hi all. I need to retrieve caption of system buttons. For example: in italian o.s. Cancel button is "Annulla", in english o.s. it is "Cancel" and so on. I need to install my application on...
5
by: =?Utf-8?B?Z215ZXJz?= | last post by:
Hello, I am attempting to start a cmd.exe process and pass several .vbs scripts (with additional parameters) and then read the output from the scripts and make "notes" in a DataTable (the...
2
by: =?Utf-8?B?TmF0aGFuIFdpZWdtYW4=?= | last post by:
Hi, I am wondering why the .NET Framework is quite different from Win32 API when it comes to displaying system modal message boxes. Consider the four following types of system modal message...
1
srj115
by: srj115 | last post by:
I have a form that periodically updates an image, which in turn is supposed to update a caption. However, each time the form updates the picture, the caption remains the same as the first picture's...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
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...

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.