Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2007
    Posts
    160

    Grin Alternative To Diallog.Message...

    Hi there,

    I will soon be undertaking localizing our AMS projects and I've run up against an issue. I'm going to use language specfic .ini files that will be read based on a language selection combobox. The .ini file will contain Page specific sections with control entries and their values. I pretty much have this working but I need to deal with any Dialog.Message statements I use.

    I can localize the caption and body of the messages through the use of the .ini method, but the buttons will not be localized using Dialog.Message. There probably isn't a way to handle this so I was wondering if the LUA language offers a message box function that I could use instead.

    Any information on how I might be able to localize Dialog.Message buttons or an alternate method to this would be appreciated!

    Thanks Much in Advance!

  2. #2
    Join Date
    May 2006
    Posts
    5,380
    The dialog buttons will always use the systems local language, no way of changing this from AMS, you can hook the dialog proc and change every aspect of the dialog, but that a bit complex and you would need to know quite a bit of WinAPI to get it working, and also be able to compile dll with C++ or other

    If your so inclined to attempt this yourself, you would need to look up "SetWindowsHookEx" & "SetDlgItemText"

    Or, Hey, Anyone got a copy of "AMSPrettyDialogs" for this guy, i no longer have the source!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts