Thread: MessageBox and languages

  1. #1
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145

    MessageBox and languages

    It seems like the language for messageboxes (the names on the buttons) depends on the language of the user. Is there some way to force this to always be english?

    VC7
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Locales and code pages. I'm not sure if that extends to resources but, if not and you need to do so, then just manually use the LANGUAGE resource definition statement; the codes are declared in winnt.h. See VERSIONINFO for specifying languages with that resource.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed