MessageBox and languages

This is a discussion on MessageBox and languages within the Windows Programming forums, part of the Platform Specific Boards category; It seems like the language for messageboxes (the names on the buttons) depends on the language of the user. Is ...

  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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21