System caption

  • Thread starter Thread starter Wally
  • Start date Start date
W

Wally

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
 
However you should use in your program mostly the messageresults and
than
... 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 said:
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.
 
Hi Herfried and Wally,

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

Cor
 
* "Cor Ligthert said:
Now I see what you mean, the enum to all texts in the Framework?

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