Hello you all, I want to translate shortcut captions in menus and toolbar button hints. These strings are made from some constants in consts unit ('Home', 'Right' and so on). To be able to translate the shortcut captions, I have identified the following means:
-recompile consts.pas and ShortCutToText in Menus.pas, but I work with D7 personal and I should get a pro edition -define OnOwnerDraw events for menus and OnShowHint but this is tedious and first attempt shows a problem as I use Toolbar2000 (it seems I cannot find out directly the action and therefor the shortcut) -hook the definition of ShortCutToText with a hack using VirtualProtect (see http://www.sicomponents.com/forum/viewtopic.php?p=383&sid=b8b070a9e124b11eabca984752d9a10e) but this works for explicit calls but doesn't seem to work for calls from inside menus.pas I would prefer to make work the last one but any other suggestion will be very welcome. Gilles ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/