Re: Language of MessageBox in VB6
From: Randy Birch (rgb_removethis_at_mvps.org)
Date: 10/20/04
- Next message: MikeD: "Re: Design Guidelines for Non-Power Users?"
- Previous message: Randy Birch: "Re: Menu color"
- In reply to: renter: "Language of MessageBox in VB6"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 19 Oct 2004 20:18:48 -0400
What are you trying to change? As I mentioned before, the message box
langid code will only change the captions of the buttons to one of the
installed languages on the system. You can't just assign the code for
Greek, for example, and expect the messagbox to miraculously change all the
text to Greek.
-- Randy Birch MS MVP Visual Basic http://vbnet.mvps.org/ "renter" <renter@discussions.microsoft.com> wrote in message news:EB54DA74-BEBE-4C4F-8451-B96B39A948A5@microsoft.com... : Hi All : I declare this function in VB6: : Declare Function MessageBoxEx Lib "user32.dll" Alias "MessageBoxExA" (ByVal : hwnd As Long, ByVal lpText As String, ByVal lpCaption As String, ByVal uType : As Long, ByVal wLanguageId As Long) As Long : : I use MAKELANGID to calaulate language id when I call this function. But it : still show default language whatever value I give to wLanguageId. I don't : know what to do next. Is there anything else I can do to fix this problem? : Thanks you! :
- Next message: MikeD: "Re: Design Guidelines for Non-Power Users?"
- Previous message: Randy Birch: "Re: Menu color"
- In reply to: renter: "Language of MessageBox in VB6"
- Messages sorted by: [ date ] [ thread ]