INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Translation of MessageBox buttons

Translation of MessageBox buttons

(OP)
Hi everyone,

I would like to know if it is possible to translate the 'Yes' and 'No' labels of a Message Box and if it is, how can I do this.

Thanks for help.

 

RE: Translation of MessageBox buttons

Yes. Absolutley !  There are many many customised message boxes available.  ( essentially just dialog boxes ) that allow complete customisation of how your message box looks and feels. eg Button text, Time outs , pictures etc.  I can send you one if you would like a bespoke one that is easy to implement - although Im not sure how clear it would be if I pasted the code here.  Would you like it ? Alternatively Im pretty sure there is a customisable message box function in the SAL extentions in http://tdsamples.daverabelink.net/index.php?dir=SalExtension/

I am a Gupta / Centura / SQLBase AP, available for permanent or long term contract work in UK, Australia, NZ or USA.
See me at: http://www.linkedin.com/in/sleighton

RE: Translation of MessageBox buttons

(OP)
Hi GuptaSteve,

Thanks for your help. My problem actually concerns the specific Message Box which appears with the function SalMessageBox(). Is it possible to translate the 'Yes' and 'No' buttons in this message box? How could I modify them?

Thanks for help

RE: Translation of MessageBox buttons

Simplest way is to replace call to SalMessageBox() with call to VisMessageBox() which displays a message box with user-defined buttons and a user-defined icon..  Look up VisMessageBox in TD Help to see how you can customize the buttons and graphics.  Obviously you need to include vtmsgbox.apl or vtnn.dll or all of VisualToolChest in your app.


See me at: http://www.linkedin.com/in/sleighton

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close