home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / cplus / 12527 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!psinntp!psinntp!searchtech.com!mra
  2. From: mra@searchtech.com (Michael Almond)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Question about Turbo Vision MessageBox
  5. Message-ID: <1992Aug18.152719.26261@searchtech.com>
  6. Date: 18 Aug 92 15:27:19 GMT
  7. References: <15754@star.cs.vu.nl>
  8. Organization: Search Technology, Inc.
  9. Lines: 19
  10.  
  11. In article <15754@star.cs.vu.nl> kwassin@cs.vu.nl (Wassink K) writes:
  12. >I'm using Turbo Vision's  messageBox function, but am
  13. >wondering if it's possible to change the texts on the buttons;
  14. >In the msgbox.h file a class is defined mentioning things
  15. >like yesText, cancelText, etc.
  16. >Does anybody know how to change them, so I can say
  17. >'Yes' and 'No' in other languages as well ?
  18.  
  19. The messageBox() uses the strings storage in 
  20.     \borlandc\tvision\source\tvtext2.cpp
  21.  
  22. Just define yesText in one of you *.obj and TV will use your string
  23. instead of the one in tv.lib.
  24.  
  25. -- 
  26. Michael R. Almond (Georgia Tech Alumnus)          mra@srchtec.uucp (registered)
  27. computer alli, inc.                        mra@searchtech.com
  28. 6000E dawson blvd.                              uupsi!srchtec!mra
  29. norcross, georgia 30093                        (404) 840-1002 (office)
  30.