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 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
* "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/>
> > 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
"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
* "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/>
Hi Herfried and Wally,
Now I see what you mean, the enum to all texts in the Framework?
Cor
* "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/> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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
|
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...
|
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...
|
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,...
|
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...
|
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...
|
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...
| |