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 1558
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: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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: 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,...
|
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: 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,...
| |